#20512E#20512E

#20512E is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.1% C 0.079 H 150.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#20512E
RGBrgb(32, 81, 46)
HSLhsl(137, 43%, 22%)
HSVhsv(137, 60%, 32%)
CMYKcmyk(60.5%, 0%, 43.2%, 68.2%)
CIE-LABlab(30.37, -25.52, 15.73)
CIE-LCHlch(30.37, 29.98, 148.35°)
OKLaboklab(39.1% -0.0691 0.0391)
OKLCHoklch(39.1% 0.079 150.5)
XYZxyz(4.0309, 6.3888, 3.6050)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20512E #512043
analogous
#2B5120 #20512E #205147
triadic
#20512E #2E2051 #512E20
tetradic
#20512E #202B51 #512043 #514720
square
#20512E #202B51 #512043 #514720
split-complementary
#20512E #472051 #51202B
monochromatic
#09160C #0F2515 #20512E #317D47 #43A960

Accessibility & contrast

On white

9.22
#20512E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#20512E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20512E
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20512E#FFFFFF#000000##FFFFFF
##20512E1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A2C
Deuteranopia (green-blind)
#4B4630
Tritanopia (blue-blind)
#145048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #20512e;
/* rgb */ color: rgb(32, 81, 46);
/* oklch */ color: oklch(39.1% 0.079 150.5);
Tailwind
colors: {
  custom: {
    50: '#608267',
    500: '#20512e',
    950: '#000000',
  },
}
SCSS
$custom: #20512e;
$custom-light: #608267;
$custom-dark: #000000;
JSON
{
  "hex": "#20512e",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 46
  },
  "hsl": {
    "h": 137.143,
    "s": 43.363,
    "l": 22.157
  },
  "oklch": {
    "l": 0.391,
    "c": 0.07944,
    "h": 150.5
  },
  "luminance": 0.06389
}

Semantic roles & 50–950 ramp

primary
#20512E
secondary
#854774
accent
#55AFD3
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050A06
muted
#797C7A

Preview Lab

Preview with #20512E

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

Preview Lab → · Contrast checker → · Palette generator →

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