#20931F#20931F

#20931F is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.0% C 0.180 H 142.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#20931F
RGBrgb(32, 147, 31)
HSLhsl(119, 65%, 35%)
HSVhsv(119, 79%, 58%)
CMYKcmyk(78.2%, 0%, 78.9%, 42.4%)
CIE-LABlab(53.25, -52.79, 48.70)
CIE-LCHlch(53.25, 71.82, 137.31°)
OKLaboklab(57.97% -0.1433 0.1091)
OKLCHoklch(57.97% 0.18 142.7)
XYZxyz(11.2760, 21.2721, 4.8077)
Luminance0.2127 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20931F #921F93
analogous
#5A931F #20931F #1F9358
triadic
#20931F #1F2093 #931F20
tetradic
#20931F #1F5A93 #921F93 #93581F
square
#20931F #1F5A93 #921F93 #93581F
split-complementary
#20931F #581F93 #931F5A
monochromatic
#0A2E0A #156014 #20931F #2BC62A #53DA52

Accessibility & contrast

On white

4.00
#20931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#20931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20931F
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20931F#FFFFFF#000000##000000
##20931F1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968401
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#008E7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #20931f;
/* rgb */ color: rgb(32, 147, 31);
/* oklch */ color: oklch(58.0% 0.180 142.7);
Tailwind
colors: {
  custom: {
    50: '#71b464',
    500: '#20931f',
    950: '#000000',
  },
}
SCSS
$custom: #20931f;
$custom-light: #71b464;
$custom-dark: #000000;
JSON
{
  "hex": "#20931f",
  "rgb": {
    "r": 32,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 119.483,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57968,
    "c": 0.18014,
    "h": 142.7
  },
  "luminance": 0.21273
}

Semantic roles & 50–950 ramp

primary
#20931F
secondary
#BD50BE
accent
#40E8E7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #20931F

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

Preview Lab → · Contrast checker → · Palette generator →

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