#20631B#20631B

#20631B is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.1% C 0.125 H 142.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#20631B
RGBrgb(32, 99, 27)
HSLhsl(116, 57%, 25%)
HSVhsv(116, 73%, 39%)
CMYKcmyk(67.7%, 0%, 72.7%, 61.2%)
CIE-LABlab(36.57, -36.13, 33.37)
CIE-LCHlch(36.57, 49.18, 137.27°)
OKLaboklab(44.13% -0.0984 0.0765)
OKLCHoklch(44.13% 0.125 142.1)
XYZxyz(5.2550, 9.3094, 2.5566)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20631B #5E1B63
analogous
#44631B #20631B #1B633A
triadic
#20631B #1B2063 #631B20
tetradic
#20631B #1B4463 #5E1B63 #633A1B
square
#20631B #1B4463 #5E1B63 #633A1B
split-complementary
#20631B #3A1B63 #631B44
monochromatic
#081807 #10330E #20631B #309328 #3FC335

Accessibility & contrast

On white

7.34
#20631B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#20631B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20631B
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20631B#FFFFFF#000000##FFFFFF
##20631B1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655911
Deuteranopia (green-blind)
#5D5422
Tritanopia (blue-blind)
#136054
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #20631b;
/* rgb */ color: rgb(32, 99, 27);
/* oklch */ color: oklch(44.1% 0.125 142.1);
Tailwind
colors: {
  custom: {
    50: '#65905c',
    500: '#20631b',
    950: '#000000',
  },
}
SCSS
$custom: #20631b;
$custom-light: #65905c;
$custom-dark: #000000;
JSON
{
  "hex": "#20631b",
  "rgb": {
    "r": 32,
    "g": 99,
    "b": 27
  },
  "hsl": {
    "h": 115.833,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.44126,
    "c": 0.12466,
    "h": 142.1
  },
  "luminance": 0.0931
}

Semantic roles & 50–950 ramp

primary
#20631B
secondary
#924198
accent
#47E0D6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #20631B

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

Preview Lab → · Contrast checker → · Palette generator →

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