#20921F#20921F

#20921F is a mid, vivid green. Relative luminance 0.210; OKLCH L 57.7% C 0.179 H 142.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#20921F
RGBrgb(32, 146, 31)
HSLhsl(119, 65%, 35%)
HSVhsv(119, 79%, 57%)
CMYKcmyk(78.1%, 0%, 78.8%, 42.7%)
CIE-LABlab(52.91, -52.47, 48.37)
CIE-LCHlch(52.91, 71.36, 137.32°)
OKLaboklab(57.69% -0.1425 0.1084)
OKLCHoklch(57.69% 0.179 142.7)
XYZxyz(11.1212, 20.9625, 4.7561)
Luminance0.2096 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20921F #911F92
analogous
#5A921F #20921F #1F9257
triadic
#20921F #1F2092 #921F20
tetradic
#20921F #1F5A92 #911F92 #92571F
square
#20921F #1F5A92 #911F92 #92571F
split-complementary
#20921F #571F92 #921F5A
monochromatic
#0A2D0A #156014 #20921F #2BC42A #52DA51

Accessibility & contrast

On white

4.04
#20921F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#20921F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20921F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20921F#FFFFFF#000000##000000
##20921F1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958402
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#008E7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #20921f;
/* rgb */ color: rgb(32, 146, 31);
/* oklch */ color: oklch(57.7% 0.179 142.7);
Tailwind
colors: {
  custom: {
    50: '#71b364',
    500: '#20921f',
    950: '#000000',
  },
}
SCSS
$custom: #20921f;
$custom-light: #71b364;
$custom-dark: #000000;
JSON
{
  "hex": "#20921f",
  "rgb": {
    "r": 32,
    "g": 146,
    "b": 31
  },
  "hsl": {
    "h": 119.478,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57688,
    "c": 0.17902,
    "h": 142.7
  },
  "luminance": 0.20964
}

Semantic roles & 50–950 ramp

primary
#20921F
secondary
#BC50BD
accent
#40E8E6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #20921F

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

Preview Lab → · Contrast checker → · Palette generator →

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