#20941F#20941F

#20941F is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.2% C 0.181 H 142.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#20941F
RGBrgb(32, 148, 31)
HSLhsl(119, 65%, 35%)
HSVhsv(119, 79%, 58%)
CMYKcmyk(78.4%, 0%, 79.1%, 42%)
CIE-LABlab(53.58, -53.12, 49.03)
CIE-LCHlch(53.58, 72.28, 137.29°)
OKLaboklab(58.25% -0.1442 0.1098)
OKLCHoklch(58.25% 0.181 142.7)
XYZxyz(11.4322, 21.5845, 4.8598)
Luminance0.2159 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20941F #931F94
analogous
#5B941F #20941F #1F9458
triadic
#20941F #1F2094 #941F20
tetradic
#20941F #1F5B94 #931F94 #94581F
square
#20941F #1F5B94 #931F94 #94581F
split-complementary
#20941F #581F94 #941F5B
monochromatic
#0A2F0A #156114 #20941F #2BC72A #54DB53

Accessibility & contrast

On white

3.95
#20941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#20941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20941F
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20941F#FFFFFF#000000##000000
##20941F1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#008F7E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #20941f;
/* rgb */ color: rgb(32, 148, 31);
/* oklch */ color: oklch(58.2% 0.181 142.7);
Tailwind
colors: {
  custom: {
    50: '#71b564',
    500: '#20941f',
    950: '#000000',
  },
}
SCSS
$custom: #20941f;
$custom-light: #71b564;
$custom-dark: #000000;
JSON
{
  "hex": "#20941f",
  "rgb": {
    "r": 32,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 119.487,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58249,
    "c": 0.18125,
    "h": 142.7
  },
  "luminance": 0.21586
}

Semantic roles & 50–950 ramp

primary
#20941F
secondary
#BD51BE
accent
#3FE8E7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #20941F

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

Preview Lab → · Contrast checker → · Palette generator →

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