#20510F#20510F

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

Color values

HEX#20510F
RGBrgb(32, 81, 15)
HSLhsl(105, 69%, 19%)
HSVhsv(105, 81%, 32%)
CMYKcmyk(60.5%, 0%, 81.5%, 68.2%)
CIE-LABlab(29.98, -29.88, 31.73)
CIE-LCHlch(29.98, 43.58, 133.28°)
OKLaboklab(38.64% -0.0823 0.0713)
OKLCHoklch(38.64% 0.109 139.1)
XYZxyz(3.6242, 6.2261, 1.4626)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20510F #400F51
analogous
#41510F #20510F #0F511F
triadic
#20510F #0F2051 #510F20
tetradic
#20510F #0F4151 #400F51 #511F0F
square
#20510F #0F4151 #400F51 #511F0F
split-complementary
#20510F #1F0F51 #510F41
monochromatic
#0A1A05 #0C1D05 #20510F #348519 #49B822

Accessibility & contrast

On white

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

On black

2.25
#20510F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##20510F#FFFFFF#000000##FFFFFF
##20510F1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20510f;
/* rgb */ color: rgb(32, 81, 15);
/* oklch */ color: oklch(38.6% 0.109 139.1);
Tailwind
colors: {
  custom: {
    50: '#628253',
    500: '#20510f',
    950: '#000000',
  },
}
SCSS
$custom: #20510f;
$custom-light: #628253;
$custom-dark: #000000;
JSON
{
  "hex": "#20510f",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 104.545,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38644,
    "c": 0.1089,
    "h": 139.1
  },
  "luminance": 0.06226
}

Semantic roles & 50–950 ramp

primary
#20510F
secondary
#74318B
accent
#3CECBE
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050A02
muted
#7A7C78

Preview Lab

Preview with #20510F

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

Preview Lab → · Contrast checker → · Palette generator →

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