#20531E#20531E

#20531E is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.4% C 0.100 H 142.8°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#20531E
RGBrgb(32, 83, 30)
HSLhsl(118, 47%, 22%)
HSVhsv(118, 64%, 33%)
CMYKcmyk(61.4%, 0%, 63.9%, 67.5%)
CIE-LABlab(30.85, -29.13, 25.54)
CIE-LCHlch(30.85, 38.75, 138.76°)
OKLaboklab(39.41% -0.0793 0.0602)
OKLCHoklch(39.41% 0.1 142.8)
XYZxyz(3.9231, 6.5870, 2.2927)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20531E #511E53
analogous
#3B531E #20531E #1E5337
triadic
#20531E #1E2053 #531E20
tetradic
#20531E #1E3B53 #511E53 #53371E
square
#20531E #1E3B53 #511E53 #53371E
split-complementary
#20531E #371E53 #531E3B
monochromatic
#091608 #0F260E #20531E #31802E #43AD3E

Accessibility & contrast

On white

9.06
#20531E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#20531E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20531E
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20531E#FFFFFF#000000##FFFFFF
##20531E1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B19
Deuteranopia (green-blind)
#4E4722
Tritanopia (blue-blind)
#185147
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #20531e;
/* rgb */ color: rgb(32, 83, 30);
/* oklch */ color: oklch(39.4% 0.100 142.8);
Tailwind
colors: {
  custom: {
    50: '#62845c',
    500: '#20531e',
    950: '#000000',
  },
}
SCSS
$custom: #20531e;
$custom-light: #62845c;
$custom-dark: #000000;
JSON
{
  "hex": "#20531e",
  "rgb": {
    "r": 32,
    "g": 83,
    "b": 30
  },
  "hsl": {
    "h": 117.736,
    "s": 46.903,
    "l": 22.157
  },
  "oklch": {
    "l": 0.39409,
    "c": 0.09956,
    "h": 142.8
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

primary
#20531E
secondary
#854588
accent
#51D7D2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #20531E

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

Preview Lab → · Contrast checker → · Palette generator →

#20531E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva