#018A21

A color in the Green family

#018a21 is a color in the Green family: RGB(1, 138, 33), HSL(134°, 99%, 27%), CMYK(99%, 0%, 76%, 46%). Closest named color: forestgreen. Contrast is 4.51:1 on white and 4.66:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#018a21
RGBrgb(1 138 33)
RGB (legacy)rgb(1, 138, 33)
RGB %rgb(0% 54% 13%)
HSLhsl(134 99% 27%)
HSV / HSBhsv(134, 99%, 54%)
HWBhwb(134 0% 46%)
CMYKcmyk(99%, 0%, 76%, 46%)
CIELAB (D50)lab(49.88 -48.91 43.48)
LCHlch(49.88 65.44 138.36)
OKLaboklab(0.5504 -0.1423 0.1008)
OKLCHoklch(0.5504 0.1744 144.7)
Decimal100897

Properties

Color ToneGreen
Closest named colorforestgreen ΔE 1.1
Closest web-safe color#009933
Hue134°
Saturation (HSL / HSV)99% / 99%
Lightness (HSL)27%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)33% / 40%
Relative luminance (WCAG)0.1829
Red / Green / Blue1 / 138 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.51:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.66:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 70.6 / -31.1 · As background with white / black text: Lc -76 / 33.5

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #018a21;
  --color-brand-oklch: oklch(55.04% 0.1744 144.7);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(1 138 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#018a21] text-[#018a21] border-[#018a21]">