#20531F#20531F

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

Color values

HEX#20531F
RGBrgb(32, 83, 31)
HSLhsl(119, 46%, 22%)
HSVhsv(119, 63%, 33%)
CMYKcmyk(61.4%, 0%, 62.7%, 67.5%)
CIE-LABlab(30.86, -29.00, 25.02)
CIE-LCHlch(30.86, 38.30, 139.21°)
OKLaboklab(39.42% -0.0788 0.0592)
OKLCHoklch(39.42% 0.099 143.1)
XYZxyz(3.9360, 6.5922, 2.3611)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20531F #521F53
analogous
#3A531F #20531F #1F5338
triadic
#20531F #1F2053 #531F20
tetradic
#20531F #1F3A53 #521F53 #53381F
square
#20531F #1F3A53 #521F53 #53381F
split-complementary
#20531F #381F53 #531F3A
monochromatic
#091608 #0F260E #20531F #318030 #42AC40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20531F#FFFFFF#000000##FFFFFF
##20531F1.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)
#554B1A
Deuteranopia (green-blind)
#4E4723
Tritanopia (blue-blind)
#185148
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #20531f;
/* rgb */ color: rgb(32, 83, 31);
/* oklch */ color: oklch(39.4% 0.099 143.1);
Tailwind
colors: {
  custom: {
    50: '#61845c',
    500: '#20531f',
    950: '#000000',
  },
}
SCSS
$custom: #20531f;
$custom-light: #61845c;
$custom-dark: #000000;
JSON
{
  "hex": "#20531f",
  "rgb": {
    "r": 32,
    "g": 83,
    "b": 31
  },
  "hsl": {
    "h": 118.846,
    "s": 45.614,
    "l": 22.353
  },
  "oklch": {
    "l": 0.39423,
    "c": 0.09859,
    "h": 143.1
  },
  "luminance": 0.06593
}

Semantic roles & 50–950 ramp

primary
#20531F
secondary
#864688
accent
#53D5D3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #20531F

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

Preview Lab → · Contrast checker → · Palette generator →

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