#20791F#20791F

#20791F is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.6% C 0.150 H 142.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#20791F
RGBrgb(32, 121, 31)
HSLhsl(119, 59%, 30%)
HSVhsv(119, 74%, 47%)
CMYKcmyk(73.6%, 0%, 74.4%, 52.5%)
CIE-LABlab(44.35, -43.96, 39.80)
CIE-LCHlch(44.35, 59.30, 137.84°)
OKLaboklab(50.58% -0.1194 0.0905)
OKLCHoklch(50.58% 0.15 142.8)
XYZxyz(7.6799, 14.0799, 3.6090)
Luminance0.1408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20791F #781F79
analogous
#4D791F #20791F #1F794B
triadic
#20791F #1F2079 #791F20
tetradic
#20791F #1F4D79 #781F79 #794B1F
square
#20791F #1F4D79 #781F79 #794B1F
split-complementary
#20791F #4B1F79 #791F4D
monochromatic
#061806 #134813 #20791F #2DAA2B #45CF43

Accessibility & contrast

On white

5.50
#20791F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#20791F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20791F
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20791F#FFFFFF#000000##FFFFFF
##20791F1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D10
Deuteranopia (green-blind)
#726628
Tritanopia (blue-blind)
#037567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #20791f;
/* rgb */ color: rgb(32, 121, 31);
/* oklch */ color: oklch(50.6% 0.150 142.8);
Tailwind
colors: {
  custom: {
    50: '#6aa160',
    500: '#20791f',
    950: '#000000',
  },
}
SCSS
$custom: #20791f;
$custom-light: #6aa160;
$custom-dark: #000000;
JSON
{
  "hex": "#20791f",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 119.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50577,
    "c": 0.14984,
    "h": 142.8
  },
  "luminance": 0.14081
}

Semantic roles & 50–950 ramp

primary
#20791F
secondary
#AB47AC
accent
#45E2E1
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #20791F

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

Preview Lab → · Contrast checker → · Palette generator →

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