#20510E#20510E

#20510E is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.110 H 138.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#20510E
RGBrgb(32, 81, 14)
HSLhsl(104, 71%, 19%)
HSVhsv(104, 83%, 32%)
CMYKcmyk(60.5%, 0%, 82.7%, 68.2%)
CIE-LABlab(29.97, -29.96, 32.11)
CIE-LCHlch(29.97, 43.92, 133.01°)
OKLaboklab(38.64% -0.0826 0.072)
OKLCHoklch(38.64% 0.11 138.9)
XYZxyz(3.6172, 6.2233, 1.4260)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20510E #3F0E51
analogous
#41510E #20510E #0E511D
triadic
#20510E #0E2051 #510E20
tetradic
#20510E #0E4151 #3F0E51 #511D0E
square
#20510E #0E4151 #3F0E51 #511D0E
split-complementary
#20510E #1D0E51 #510E41
monochromatic
#0A1A05 #0B1D05 #20510E #358517 #49B920

Accessibility & contrast

On white

9.35
#20510E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#20510E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20510E
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20510E#FFFFFF#000000##FFFFFF
##20510E1.009.352.249.35
#FFFFFF9.351.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544902
Deuteranopia (green-blind)
#4D4515
Tritanopia (blue-blind)
#1B4E44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #20510e;
/* rgb */ color: rgb(32, 81, 14);
/* oklch */ color: oklch(38.6% 0.110 138.9);
Tailwind
colors: {
  custom: {
    50: '#628252',
    500: '#20510e',
    950: '#000000',
  },
}
SCSS
$custom: #20510e;
$custom-light: #628252;
$custom-dark: #000000;
JSON
{
  "hex": "#20510e",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 14
  },
  "hsl": {
    "h": 103.881,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38637,
    "c": 0.10953,
    "h": 138.9
  },
  "luminance": 0.06224
}

Semantic roles & 50–950 ramp

primary
#20510E
secondary
#732F8C
accent
#3AEDBD
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050A02
muted
#7A7C78

Preview Lab

Preview with #20510E

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

Preview Lab → · Contrast checker → · Palette generator →

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