#21951D#21951D

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

Color values

HEX#21951D
RGBrgb(33, 149, 29)
HSLhsl(118, 67%, 35%)
HSVhsv(118, 81%, 58%)
CMYKcmyk(77.9%, 0%, 80.5%, 41.6%)
CIE-LABlab(53.93, -53.42, 50.01)
CIE-LCHlch(53.93, 73.18, 136.89°)
OKLaboklab(58.54% -0.1452 0.1116)
OKLCHoklch(58.54% 0.183 142.5)
XYZxyz(11.5957, 21.9056, 4.7792)
Luminance0.2191 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21951D #911D95
analogous
#5D951D #21951D #1D9555
triadic
#21951D #1D2195 #951D21
tetradic
#21951D #1D5D95 #911D95 #95551D
square
#21951D #1D5D95 #911D95 #95551D
split-complementary
#21951D #551D95 #951D5D
monochromatic
#0A2F09 #166213 #21951D #2CC827 #54DD50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21951D#FFFFFF#000000##000000
##21951D1.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)
#8C7E2B
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #21951d;
/* rgb */ color: rgb(33, 149, 29);
/* oklch */ color: oklch(58.5% 0.183 142.5);
Tailwind
colors: {
  custom: {
    50: '#72b563',
    500: '#21951d',
    950: '#000000',
  },
}
SCSS
$custom: #21951d;
$custom-light: #72b563;
$custom-dark: #000000;
JSON
{
  "hex": "#21951d",
  "rgb": {
    "r": 33,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 118,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58536,
    "c": 0.18309,
    "h": 142.5
  },
  "luminance": 0.21907
}

Semantic roles & 50–950 ramp

primary
#21951D
secondary
#BC4EC0
accent
#3DEAE5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #21951D

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

Preview Lab → · Contrast checker → · Palette generator →

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