#21974E#21974E

#21974E is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.6% C 0.148 H 150.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#21974E
RGBrgb(33, 151, 78)
HSLhsl(143, 64%, 36%)
HSVhsv(143, 78%, 59%)
CMYKcmyk(78.1%, 0%, 48.3%, 40.8%)
CIE-LABlab(55.08, -48.31, 29.52)
CIE-LCHlch(55.08, 56.61, 148.57°)
OKLaboklab(59.65% -0.1298 0.0721)
OKLCHoklch(59.65% 0.149 150.9)
XYZxyz(13.0678, 23.0050, 10.9580)
Luminance0.2301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21974E #97216A
analogous
#2F9721 #21974E #219789
triadic
#21974E #4E2197 #974E21
tetradic
#21974E #212F97 #97216A #978921
square
#21974E #212F97 #97216A #978921
split-complementary
#21974E #892197 #97212F
monochromatic
#0B331A #166534 #21974E #2CC968 #58DA8A

Accessibility & contrast

On white

3.75
#21974E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#21974E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21974E
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21974E#FFFFFF#000000##000000
##21974E1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A48
Deuteranopia (green-blind)
#8A8053
Tritanopia (blue-blind)
#009486
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #21974e;
/* rgb */ color: rgb(33, 151, 78);
/* oklch */ color: oklch(59.6% 0.148 150.9);
Tailwind
colors: {
  custom: {
    50: '#70b781',
    500: '#21974e',
    950: '#000000',
  },
}
SCSS
$custom: #21974e;
$custom-light: #70b781;
$custom-dark: #000000;
JSON
{
  "hex": "#21974e",
  "rgb": {
    "r": 33,
    "g": 151,
    "b": 78
  },
  "hsl": {
    "h": 142.881,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59646,
    "c": 0.1485,
    "h": 150.9
  },
  "luminance": 0.23007
}

Semantic roles & 50–950 ramp

primary
#21974E
secondary
#BE5596
accent
#41A8E7
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #21974E

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

Preview Lab → · Contrast checker → · Palette generator →

#21974E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva