#20631F#20631F

#20631F is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.2% C 0.122 H 143.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#20631F
RGBrgb(32, 99, 31)
HSLhsl(119, 52%, 25%)
HSVhsv(119, 69%, 39%)
CMYKcmyk(67.7%, 0%, 68.7%, 61.2%)
CIE-LABlab(36.61, -35.69, 31.55)
CIE-LCHlch(36.61, 47.64, 138.52°)
OKLaboklab(44.17% -0.097 0.0732)
OKLCHoklch(44.17% 0.122 143)
XYZxyz(5.3045, 9.3292, 2.8172)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20631F #621F63
analogous
#42631F #20631F #1F6340
triadic
#20631F #1F2063 #631F20
tetradic
#20631F #1F4263 #621F63 #63401F
square
#20631F #1F4263 #621F63 #63401F
split-complementary
#20631F #401F63 #631F42
monochromatic
#081707 #113410 #20631F #2F922E #3EC03C

Accessibility & contrast

On white

7.33
#20631F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#20631F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20631F
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20631F#FFFFFF#000000##FFFFFF
##20631F1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A17
Deuteranopia (green-blind)
#5D5425
Tritanopia (blue-blind)
#126055
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #20631f;
/* rgb */ color: rgb(32, 99, 31);
/* oklch */ color: oklch(44.2% 0.122 143.0);
Tailwind
colors: {
  custom: {
    50: '#65905e',
    500: '#20631f',
    950: '#000000',
  },
}
SCSS
$custom: #20631f;
$custom-light: #65905e;
$custom-dark: #000000;
JSON
{
  "hex": "#20631f",
  "rgb": {
    "r": 32,
    "g": 99,
    "b": 31
  },
  "hsl": {
    "h": 119.118,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.44168,
    "c": 0.12151,
    "h": 143
  },
  "luminance": 0.0933
}

Semantic roles & 50–950 ramp

primary
#20631F
secondary
#964698
accent
#4CDCDA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #20631F

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

Preview Lab → · Contrast checker → · Palette generator →

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