#21904B#21904B

#21904B is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.7% C 0.142 H 151.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#21904B
RGBrgb(33, 144, 75)
HSLhsl(143, 63%, 35%)
HSVhsv(143, 77%, 56%)
CMYKcmyk(77.1%, 0%, 47.9%, 43.5%)
CIE-LABlab(52.70, -46.22, 28.10)
CIE-LCHlch(52.70, 54.09, 148.70°)
OKLaboklab(57.67% -0.1242 0.0688)
OKLCHoklch(57.67% 0.142 151)
XYZxyz(11.8694, 20.7765, 10.0399)
Luminance0.2078 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21904B #902166
analogous
#2E9021 #21904B #219083
triadic
#21904B #4B2190 #904B21
tetradic
#21904B #212E90 #902166 #908321
square
#21904B #212E90 #902166 #908321
split-complementary
#21904B #832190 #90212E
monochromatic
#0A2C17 #165E31 #21904B #2CC265 #54D886

Accessibility & contrast

On white

4.07
#21904B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#21904B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21904B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21904B#FFFFFF#000000##000000
##21904B1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918346
Deuteranopia (green-blind)
#847A50
Tritanopia (blue-blind)
#008E80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #21904b;
/* rgb */ color: rgb(33, 144, 75);
/* oklch */ color: oklch(57.7% 0.142 151.0);
Tailwind
colors: {
  custom: {
    50: '#6fb17e',
    500: '#21904b',
    950: '#000000',
  },
}
SCSS
$custom: #21904b;
$custom-light: #6fb17e;
$custom-dark: #000000;
JSON
{
  "hex": "#21904b",
  "rgb": {
    "r": 33,
    "g": 144,
    "b": 75
  },
  "hsl": {
    "h": 142.703,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57669,
    "c": 0.14201,
    "h": 151
  },
  "luminance": 0.20778
}

Semantic roles & 50–950 ramp

primary
#21904B
secondary
#BB5193
accent
#42A8E6
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #21904B

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

Preview Lab → · Contrast checker → · Palette generator →

#21904B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva