#20510C#20510C

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

Color values

HEX#20510C
RGBrgb(32, 81, 12)
HSLhsl(103, 74%, 18%)
HSVhsv(103, 85%, 32%)
CMYKcmyk(60.5%, 0%, 85.2%, 68.2%)
CIE-LABlab(29.96, -30.11, 32.85)
CIE-LCHlch(29.96, 44.56, 132.50°)
OKLaboklab(38.62% -0.0831 0.0732)
OKLCHoklch(38.62% 0.111 138.6)
XYZxyz(3.6043, 6.2182, 1.3580)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20510C #3D0C51
analogous
#42510C #20510C #0C511A
triadic
#20510C #0C2051 #510C20
tetradic
#20510C #0C4251 #3D0C51 #511A0C
square
#20510C #0C4251 #3D0C51 #511A0C
split-complementary
#20510C #1A0C51 #510C42
monochromatic
#0B1B04 #0B1C04 #20510C #358614 #4ABC1C

Accessibility & contrast

On white

9.36
#20510C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20510C
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20510C#FFFFFF#000000##FFFFFF
##20510C1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20510c;
/* rgb */ color: rgb(32, 81, 12);
/* oklch */ color: oklch(38.6% 0.111 138.6);
Tailwind
colors: {
  custom: {
    50: '#628251',
    500: '#20510c',
    950: '#000000',
  },
}
SCSS
$custom: #20510c;
$custom-light: #628251;
$custom-dark: #000000;
JSON
{
  "hex": "#20510c",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 12
  },
  "hsl": {
    "h": 102.609,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38622,
    "c": 0.11072,
    "h": 138.6
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#20510C
secondary
#712C8C
accent
#37F1BB
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050A02
muted
#7A7C78

Preview Lab

Preview with #20510C

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

Preview Lab → · Contrast checker → · Palette generator →

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