#20661F#20661F

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

Color values

HEX#20661F
RGBrgb(32, 102, 31)
HSLhsl(119, 53%, 26%)
HSVhsv(119, 70%, 40%)
CMYKcmyk(68.6%, 0%, 69.6%, 60%)
CIE-LABlab(37.68, -36.88, 32.73)
CIE-LCHlch(37.68, 49.30, 138.41°)
OKLaboklab(45.05% -0.1002 0.0757)
OKLCHoklch(45.05% 0.126 142.9)
XYZxyz(5.5940, 9.9082, 2.9137)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20661F #651F66
analogous
#43661F #20661F #1F6641
triadic
#20661F #1F2066 #661F20
tetradic
#20661F #1F4366 #651F66 #66411F
square
#20661F #1F4366 #651F66 #66411F
split-complementary
#20661F #411F66 #661F43
monochromatic
#071707 #113711 #20661F #2F952D #3EC43C

Accessibility & contrast

On white

7.04
#20661F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20661F
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20661F#FFFFFF#000000##FFFFFF
##20661F1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20661f;
/* rgb */ color: rgb(32, 102, 31);
/* oklch */ color: oklch(45.1% 0.126 142.9);
Tailwind
colors: {
  custom: {
    50: '#66925e',
    500: '#20661f',
    950: '#000000',
  },
}
SCSS
$custom: #20661f;
$custom-light: #66925e;
$custom-dark: #000000;
JSON
{
  "hex": "#20661f",
  "rgb": {
    "r": 32,
    "g": 102,
    "b": 31
  },
  "hsl": {
    "h": 119.155,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.45051,
    "c": 0.12556,
    "h": 142.9
  },
  "luminance": 0.09909
}

Semantic roles & 50–950 ramp

primary
#20661F
secondary
#99469A
accent
#4BDDDB
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #20661F

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

Preview Lab → · Contrast checker → · Palette generator →

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