#21904A#21904A

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

Color values

HEX#21904A
RGBrgb(33, 144, 74)
HSLhsl(142, 63%, 35%)
HSVhsv(142, 77%, 56%)
CMYKcmyk(77.1%, 0%, 48.6%, 43.5%)
CIE-LABlab(52.69, -46.39, 28.61)
CIE-LCHlch(52.69, 54.51, 148.33°)
OKLaboklab(57.65% -0.1247 0.0699)
OKLCHoklch(57.65% 0.143 150.7)
XYZxyz(11.8355, 20.7629, 9.8611)
Luminance0.2076 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21904A #902167
analogous
#309021 #21904A #219082
triadic
#21904A #4A2190 #904A21
tetradic
#21904A #213090 #902167 #908221
square
#21904A #213090 #902167 #908221
split-complementary
#21904A #822190 #902130
monochromatic
#0A2C17 #165E30 #21904A #2CC264 #54D884

Accessibility & contrast

On white

4.08
#21904A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#21904A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21904A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21904A#FFFFFF#000000##000000
##21904A1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918344
Deuteranopia (green-blind)
#847A4F
Tritanopia (blue-blind)
#008E7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #21904a;
/* rgb */ color: rgb(33, 144, 74);
/* oklch */ color: oklch(57.7% 0.143 150.7);
Tailwind
colors: {
  custom: {
    50: '#6fb17e',
    500: '#21904a',
    950: '#000000',
  },
}
SCSS
$custom: #21904a;
$custom-light: #6fb17e;
$custom-dark: #000000;
JSON
{
  "hex": "#21904a",
  "rgb": {
    "r": 33,
    "g": 144,
    "b": 74
  },
  "hsl": {
    "h": 142.162,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57651,
    "c": 0.14297,
    "h": 150.7
  },
  "luminance": 0.20764
}

Semantic roles & 50–950 ramp

primary
#21904A
secondary
#BB5194
accent
#42A9E6
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #21904A

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

Preview Lab → · Contrast checker → · Palette generator →

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