#21974A#21974A

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

Color values

HEX#21974A
RGBrgb(33, 151, 74)
HSLhsl(141, 64%, 36%)
HSVhsv(141, 78%, 59%)
CMYKcmyk(78.1%, 0%, 51%, 40.8%)
CIE-LABlab(55.02, -48.98, 31.54)
CIE-LCHlch(55.02, 58.25, 147.22°)
OKLaboklab(59.58% -0.1316 0.0765)
OKLCHoklch(59.58% 0.152 149.8)
XYZxyz(12.9288, 22.9494, 10.2255)
Luminance0.2295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21974A #97216E
analogous
#339721 #21974A #219785
triadic
#21974A #4A2197 #974A21
tetradic
#21974A #213397 #97216E #978521
square
#21974A #213397 #97216E #978521
split-complementary
#21974A #852197 #972133
monochromatic
#0B3319 #166531 #21974A #2CC963 #58DA85

Accessibility & contrast

On white

3.76
#21974A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#21974A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21974A
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21974A#FFFFFF#000000##000000
##21974A1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988944
Deuteranopia (green-blind)
#8B8050
Tritanopia (blue-blind)
#009485
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #21974a;
/* rgb */ color: rgb(33, 151, 74);
/* oklch */ color: oklch(59.6% 0.152 149.8);
Tailwind
colors: {
  custom: {
    50: '#70b77e',
    500: '#21974a',
    950: '#000000',
  },
}
SCSS
$custom: #21974a;
$custom-light: #70b77e;
$custom-dark: #000000;
JSON
{
  "hex": "#21974a",
  "rgb": {
    "r": 33,
    "g": 151,
    "b": 74
  },
  "hsl": {
    "h": 140.847,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5958,
    "c": 0.15223,
    "h": 149.8
  },
  "luminance": 0.22951
}

Semantic roles & 50–950 ramp

primary
#21974A
secondary
#BE559A
accent
#41ADE7
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #21974A

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

Preview Lab → · Contrast checker → · Palette generator →

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