#20580F#20580F

#20580F is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.8% C 0.118 H 139.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#20580F
RGBrgb(32, 88, 15)
HSLhsl(106, 71%, 20%)
HSVhsv(106, 83%, 35%)
CMYKcmyk(63.6%, 0%, 83%, 65.5%)
CIE-LABlab(32.53, -32.80, 34.22)
CIE-LCHlch(32.53, 47.40, 133.78°)
OKLaboklab(40.75% -0.0901 0.0765)
OKLCHoklch(40.75% 0.118 139.7)
XYZxyz(4.1714, 7.3206, 1.6450)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20580F #470F58
analogous
#45580F #20580F #0F5822
triadic
#20580F #0F2058 #580F20
tetradic
#20580F #0F4558 #470F58 #58220F
square
#20580F #0F4558 #470F58 #58220F
split-complementary
#20580F #220F58 #580F45
monochromatic
#0A1A04 #0D2406 #20580F #338C18 #46C121

Accessibility & contrast

On white

8.52
#20580F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#20580F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20580F
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20580F#FFFFFF#000000##FFFFFF
##20580F1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F01
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#19554A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #20580f;
/* rgb */ color: rgb(32, 88, 15);
/* oklch */ color: oklch(40.8% 0.118 139.7);
Tailwind
colors: {
  custom: {
    50: '#648854',
    500: '#20580f',
    950: '#000000',
  },
}
SCSS
$custom: #20580f;
$custom-light: #648854;
$custom-dark: #000000;
JSON
{
  "hex": "#20580f",
  "rgb": {
    "r": 32,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 106.027,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.4075,
    "c": 0.11825,
    "h": 139.7
  },
  "luminance": 0.07321
}

Semantic roles & 50–950 ramp

primary
#20580F
secondary
#7B3192
accent
#3AEEC4
background
#F6F8F5
surface
#EBF0E8
border
#C6CBC4
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #20580F

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

Preview Lab → · Contrast checker → · Palette generator →

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