#20661E#20661E

#20661E is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.0% C 0.126 H 142.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#20661E
RGBrgb(32, 102, 30)
HSLhsl(118, 55%, 26%)
HSVhsv(118, 71%, 40%)
CMYKcmyk(68.6%, 0%, 70.6%, 60%)
CIE-LABlab(37.67, -36.99, 33.18)
CIE-LCHlch(37.67, 49.69, 138.10°)
OKLaboklab(45.04% -0.1006 0.0765)
OKLCHoklch(45.04% 0.126 142.7)
XYZxyz(5.5811, 9.9030, 2.8454)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20661E #641E66
analogous
#44661E #20661E #1E6640
triadic
#20661E #1E2066 #661E20
tetradic
#20661E #1E4466 #641E66 #66401E
square
#20661E #1E4466 #641E66 #66401E
split-complementary
#20661E #401E66 #661E44
monochromatic
#071807 #113710 #20661E #2F952C #3EC53A

Accessibility & contrast

On white

7.05
#20661E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#20661E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20661E
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20661E#FFFFFF#000000##FFFFFF
##20661E1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C14
Deuteranopia (green-blind)
#605625
Tritanopia (blue-blind)
#116357
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #20661e;
/* rgb */ color: rgb(32, 102, 30);
/* oklch */ color: oklch(45.0% 0.126 142.7);
Tailwind
colors: {
  custom: {
    50: '#66925e',
    500: '#20661e',
    950: '#000000',
  },
}
SCSS
$custom: #20661e;
$custom-light: #66925e;
$custom-dark: #000000;
JSON
{
  "hex": "#20661e",
  "rgb": {
    "r": 32,
    "g": 102,
    "b": 30
  },
  "hsl": {
    "h": 118.333,
    "s": 54.545,
    "l": 25.882
  },
  "oklch": {
    "l": 0.4504,
    "c": 0.12636,
    "h": 142.7
  },
  "luminance": 0.09904
}

Semantic roles & 50–950 ramp

primary
#20661E
secondary
#98459B
accent
#4ADEDA
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #20661E

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

Preview Lab → · Contrast checker → · Palette generator →

#20661E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva