#20661B#20661B

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

Color values

HEX#20661B
RGBrgb(32, 102, 27)
HSLhsl(116, 58%, 25%)
HSVhsv(116, 74%, 40%)
CMYKcmyk(68.6%, 0%, 73.5%, 60%)
CIE-LABlab(37.64, -37.30, 34.50)
CIE-LCHlch(37.64, 50.81, 137.23°)
OKLaboklab(45.01% -0.1016 0.0789)
OKLCHoklch(45.01% 0.129 142.2)
XYZxyz(5.5446, 9.8884, 2.6532)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20661B #611B66
analogous
#45661B #20661B #1B663B
triadic
#20661B #1B2066 #661B20
tetradic
#20661B #1B4566 #611B66 #663B1B
square
#20661B #1B4566 #611B66 #663B1B
split-complementary
#20661B #3B1B66 #661B45
monochromatic
#081806 #11360E #20661B #2F9628 #3EC735

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20661B#FFFFFF#000000##FFFFFF
##20661B1.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)
#685C10
Deuteranopia (green-blind)
#605622
Tritanopia (blue-blind)
#126357
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #20661b;
/* rgb */ color: rgb(32, 102, 27);
/* oklch */ color: oklch(45.0% 0.129 142.2);
Tailwind
colors: {
  custom: {
    50: '#66925c',
    500: '#20661b',
    950: '#000000',
  },
}
SCSS
$custom: #20661b;
$custom-light: #66925c;
$custom-dark: #000000;
JSON
{
  "hex": "#20661b",
  "rgb": {
    "r": 32,
    "g": 102,
    "b": 27
  },
  "hsl": {
    "h": 116,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.45009,
    "c": 0.12861,
    "h": 142.2
  },
  "luminance": 0.09889
}

Semantic roles & 50–950 ramp

primary
#20661B
secondary
#95419B
accent
#46E1D7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #20661B

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

Preview Lab → · Contrast checker → · Palette generator →

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