#21904C#21904C

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

Color values

HEX#21904C
RGBrgb(33, 144, 76)
HSLhsl(143, 63%, 35%)
HSVhsv(143, 77%, 56%)
CMYKcmyk(77.1%, 0%, 47.2%, 43.5%)
CIE-LABlab(52.72, -46.04, 27.58)
CIE-LCHlch(52.72, 53.67, 149.07°)
OKLaboklab(57.69% -0.1238 0.0676)
OKLCHoklch(57.69% 0.141 151.4)
XYZxyz(11.9039, 20.7903, 10.2216)
Luminance0.2079 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21904C #902165
analogous
#2E9021 #21904C #219084
triadic
#21904C #4C2190 #904C21
tetradic
#21904C #212E90 #902165 #908421
square
#21904C #212E90 #902165 #908421
split-complementary
#21904C #842190 #90212E
monochromatic
#0A2C17 #165E32 #21904C #2CC266 #54D887

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21904C#FFFFFF#000000##000000
##21904C1.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)
#918347
Deuteranopia (green-blind)
#847A51
Tritanopia (blue-blind)
#008E80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #21904c;
/* rgb */ color: rgb(33, 144, 76);
/* oklch */ color: oklch(57.7% 0.141 151.4);
Tailwind
colors: {
  custom: {
    50: '#6eb17f',
    500: '#21904c',
    950: '#000000',
  },
}
SCSS
$custom: #21904c;
$custom-light: #6eb17f;
$custom-dark: #000000;
JSON
{
  "hex": "#21904c",
  "rgb": {
    "r": 33,
    "g": 144,
    "b": 76
  },
  "hsl": {
    "h": 143.243,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57686,
    "c": 0.14106,
    "h": 151.4
  },
  "luminance": 0.20792
}

Semantic roles & 50–950 ramp

primary
#21904C
secondary
#BB5192
accent
#42A6E6
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #21904C

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

Preview Lab → · Contrast checker → · Palette generator →

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