#21A01B#21A01B

#21A01B is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.6% C 0.196 H 142.3°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#21A01B
RGBrgb(33, 160, 27)
HSLhsl(117, 71%, 37%)
HSVhsv(117, 83%, 63%)
CMYKcmyk(79.4%, 0%, 83.1%, 37.3%)
CIE-LABlab(57.60, -57.04, 54.05)
CIE-LCHlch(57.60, 78.59, 136.54°)
OKLaboklab(61.59% -0.1551 0.1197)
OKLCHoklch(61.59% 0.196 142.3)
XYZxyz(13.3950, 25.5425, 5.2609)
Luminance0.2554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A01B #9A1BA0
analogous
#64A01B #21A01B #1BA058
triadic
#21A01B #1B21A0 #A01B21
tetradic
#21A01B #1B64A0 #9A1BA0 #A0581B
square
#21A01B #1B64A0 #9A1BA0 #A0581B
split-complementary
#21A01B #581BA0 #A01B64
monochromatic
#0B3709 #166C12 #21A01B #2CD424 #5AE253

Accessibility & contrast

On white

3.44
#21A01B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#21A01B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A01B
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A01B#FFFFFF#000000##000000
##21A01B1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#96872C
Tritanopia (blue-blind)
#009B88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #21a01b;
/* rgb */ color: rgb(33, 160, 27);
/* oklch */ color: oklch(61.6% 0.196 142.3);
Tailwind
colors: {
  custom: {
    50: '#75bd64',
    500: '#21a01b',
    950: '#000000',
  },
}
SCSS
$custom: #21a01b;
$custom-light: #75bd64;
$custom-dark: #000000;
JSON
{
  "hex": "#21a01b",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 117.293,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61589,
    "c": 0.19591,
    "h": 142.3
  },
  "luminance": 0.25544
}

Semantic roles & 50–950 ramp

primary
#21A01B
secondary
#C052C5
accent
#3AEEE6
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #21A01B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#21A01B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva