#21904F#21904F

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

Color values

HEX#21904F
RGBrgb(33, 144, 79)
HSLhsl(145, 63%, 35%)
HSVhsv(145, 77%, 56%)
CMYKcmyk(77.1%, 0%, 45.1%, 43.5%)
CIE-LABlab(52.77, -45.50, 26.03)
CIE-LCHlch(52.77, 52.42, 150.23°)
OKLaboklab(57.74% -0.1224 0.0642)
OKLCHoklch(57.74% 0.138 152.3)
XYZxyz(12.0107, 20.8329, 10.7838)
Luminance0.2083 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21904F #902162
analogous
#2A9021 #21904F #219087
triadic
#21904F #4F2190 #904F21
tetradic
#21904F #212A90 #902162 #908721
square
#21904F #212A90 #902162 #908721
split-complementary
#21904F #872190 #90212A
monochromatic
#0A2C18 #165E34 #21904F #2CC26A #54D88A

Accessibility & contrast

On white

4.06
#21904F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#21904F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21904F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21904F#FFFFFF#000000##000000
##21904F1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90834A
Deuteranopia (green-blind)
#837A53
Tritanopia (blue-blind)
#008E80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #21904f;
/* rgb */ color: rgb(33, 144, 79);
/* oklch */ color: oklch(57.7% 0.138 152.3);
Tailwind
colors: {
  custom: {
    50: '#6eb181',
    500: '#21904f',
    950: '#000000',
  },
}
SCSS
$custom: #21904f;
$custom-light: #6eb181;
$custom-dark: #000000;
JSON
{
  "hex": "#21904f",
  "rgb": {
    "r": 33,
    "g": 144,
    "b": 79
  },
  "hsl": {
    "h": 144.865,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5774,
    "c": 0.13819,
    "h": 152.3
  },
  "luminance": 0.20834
}

Semantic roles & 50–950 ramp

primary
#21904F
secondary
#BB518F
accent
#42A2E6
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #21904F

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

Preview Lab → · Contrast checker → · Palette generator →

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