#21951F#21951F

#21951F is a mid, vivid green. Relative luminance 0.219; OKLCH L 58.5% C 0.182 H 142.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#21951F
RGBrgb(33, 149, 31)
HSLhsl(119, 66%, 35%)
HSVhsv(119, 79%, 58%)
CMYKcmyk(77.9%, 0%, 79.2%, 41.6%)
CIE-LABlab(53.94, -53.29, 49.38)
CIE-LCHlch(53.94, 72.65, 137.18°)
OKLaboklab(58.55% -0.1447 0.1105)
OKLCHoklch(58.55% 0.182 142.6)
XYZxyz(11.6212, 21.9158, 4.9138)
Luminance0.2192 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21951F #931F95
analogous
#5C951F #21951F #1F9558
triadic
#21951F #1F2195 #951F21
tetradic
#21951F #1F5C95 #931F95 #95581F
square
#21951F #1F5C95 #931F95 #95581F
split-complementary
#21951F #581F95 #951F5C
monochromatic
#0B300A #166214 #21951F #2CC82A #55DB53

Accessibility & contrast

On white

3.90
#21951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#21951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21951F
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21951F#FFFFFF#000000##000000
##21951F1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8C7E2D
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #21951f;
/* rgb */ color: rgb(33, 149, 31);
/* oklch */ color: oklch(58.5% 0.182 142.6);
Tailwind
colors: {
  custom: {
    50: '#72b564',
    500: '#21951f',
    950: '#000000',
  },
}
SCSS
$custom: #21951f;
$custom-light: #72b564;
$custom-dark: #000000;
JSON
{
  "hex": "#21951f",
  "rgb": {
    "r": 33,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 118.983,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58548,
    "c": 0.1821,
    "h": 142.6
  },
  "luminance": 0.21917
}

Semantic roles & 50–950 ramp

primary
#21951F
secondary
#BD51BF
accent
#3FE9E6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #21951F

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

Preview Lab → · Contrast checker → · Palette generator →

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