#20671B#20671B

#20671B is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.130 H 142.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#20671B
RGBrgb(32, 103, 27)
HSLhsl(116, 58%, 25%)
HSVhsv(116, 74%, 40%)
CMYKcmyk(68.9%, 0%, 73.8%, 59.6%)
CIE-LABlab(38.00, -37.68, 34.88)
CIE-LCHlch(38.00, 51.34, 137.22°)
OKLaboklab(45.3% -0.1026 0.0797)
OKLCHoklch(45.3% 0.13 142.2)
XYZxyz(5.6434, 10.0861, 2.6861)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20671B #621B67
analogous
#46671B #20671B #1B673C
triadic
#20671B #1B2067 #671B20
tetradic
#20671B #1B4667 #621B67 #673C1B
square
#20671B #1B4667 #621B67 #673C1B
split-complementary
#20671B #3C1B67 #671B46
monochromatic
#081806 #11370E #20671B #2F9728 #3EC834

Accessibility & contrast

On white

6.96
#20671B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#20671B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20671B
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20671B#FFFFFF#000000##FFFFFF
##20671B1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0F
Deuteranopia (green-blind)
#615722
Tritanopia (blue-blind)
#116458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #20671b;
/* rgb */ color: rgb(32, 103, 27);
/* oklch */ color: oklch(45.3% 0.130 142.2);
Tailwind
colors: {
  custom: {
    50: '#66935c',
    500: '#20671b',
    950: '#000000',
  },
}
SCSS
$custom: #20671b;
$custom-light: #66935c;
$custom-dark: #000000;
JSON
{
  "hex": "#20671b",
  "rgb": {
    "r": 32,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 116.053,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.45303,
    "c": 0.12992,
    "h": 142.2
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#20671B
secondary
#96429C
accent
#46E2D7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #20671B

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

Preview Lab → · Contrast checker → · Palette generator →

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