#21974F#21974F

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

Color values

HEX#21974F
RGBrgb(33, 151, 79)
HSLhsl(143, 64%, 36%)
HSVhsv(143, 78%, 59%)
CMYKcmyk(78.1%, 0%, 47.7%, 40.8%)
CIE-LABlab(55.09, -48.13, 29.01)
CIE-LCHlch(55.09, 56.20, 148.92°)
OKLaboklab(59.66% -0.1293 0.071)
OKLCHoklch(59.66% 0.148 151.2)
XYZxyz(13.1039, 23.0195, 11.1482)
Luminance0.2302 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21974F #972169
analogous
#2E9721 #21974F #21978A
triadic
#21974F #4F2197 #974F21
tetradic
#21974F #212E97 #972169 #978A21
square
#21974F #212E97 #972169 #978A21
split-complementary
#21974F #8A2197 #97212E
monochromatic
#0B331A #166535 #21974F #2CC969 #58DA8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21974F#FFFFFF#000000##000000
##21974F1.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)
#988A49
Deuteranopia (green-blind)
#8A8054
Tritanopia (blue-blind)
#009586
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #21974f;
/* rgb */ color: rgb(33, 151, 79);
/* oklch */ color: oklch(59.7% 0.148 151.2);
Tailwind
colors: {
  custom: {
    50: '#70b781',
    500: '#21974f',
    950: '#000000',
  },
}
SCSS
$custom: #21974f;
$custom-light: #70b781;
$custom-dark: #000000;
JSON
{
  "hex": "#21974f",
  "rgb": {
    "r": 33,
    "g": 151,
    "b": 79
  },
  "hsl": {
    "h": 143.39,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59664,
    "c": 0.14756,
    "h": 151.2
  },
  "luminance": 0.23021
}

Semantic roles & 50–950 ramp

primary
#21974F
secondary
#BE5595
accent
#41A6E7
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #21974F

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

Preview Lab → · Contrast checker → · Palette generator →

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