#20951F#20951F

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

Color values

HEX#20951F
RGBrgb(32, 149, 31)
HSLhsl(119, 66%, 35%)
HSVhsv(119, 79%, 58%)
CMYKcmyk(78.5%, 0%, 79.2%, 41.6%)
CIE-LABlab(53.92, -53.44, 49.35)
CIE-LCHlch(53.92, 72.74, 137.28°)
OKLaboklab(58.53% -0.1451 0.1105)
OKLCHoklch(58.53% 0.182 142.7)
XYZxyz(11.5897, 21.8995, 4.9123)
Luminance0.2190 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20951F #941F95
analogous
#5B951F #20951F #1F9559
triadic
#20951F #1F2095 #951F20
tetradic
#20951F #1F5B95 #941F95 #95591F
square
#20951F #1F5B95 #941F95 #95591F
split-complementary
#20951F #591F95 #951F5B
monochromatic
#0A300A #156214 #20951F #2BC82A #54DB53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20951F#FFFFFF#000000##000000
##20951F1.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)
#8C7D2D
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #20951f;
/* rgb */ color: rgb(32, 149, 31);
/* oklch */ color: oklch(58.5% 0.182 142.7);
Tailwind
colors: {
  custom: {
    50: '#71b564',
    500: '#20951f',
    950: '#000000',
  },
}
SCSS
$custom: #20951f;
$custom-light: #71b564;
$custom-dark: #000000;
JSON
{
  "hex": "#20951f",
  "rgb": {
    "r": 32,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 119.492,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58529,
    "c": 0.18236,
    "h": 142.7
  },
  "luminance": 0.21901
}

Semantic roles & 50–950 ramp

primary
#20951F
secondary
#BE51BF
accent
#3FE9E7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #20951F

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

Preview Lab → · Contrast checker → · Palette generator →

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