#20560F#20560F

#20560F is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.2% C 0.116 H 139.5°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#20560F
RGBrgb(32, 86, 15)
HSLhsl(106, 70%, 20%)
HSVhsv(106, 83%, 34%)
CMYKcmyk(62.8%, 0%, 82.6%, 66.3%)
CIE-LABlab(31.80, -31.98, 33.52)
CIE-LCHlch(31.80, 46.32, 133.65°)
OKLaboklab(40.15% -0.0879 0.0751)
OKLCHoklch(40.15% 0.116 139.5)
XYZxyz(4.0095, 6.9968, 1.5911)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20560F #450F56
analogous
#44560F #20560F #0F5622
triadic
#20560F #0F2056 #560F20
tetradic
#20560F #0F4456 #450F56 #56220F
square
#20560F #0F4456 #450F56 #56220F
split-complementary
#20560F #220F56 #560F44
monochromatic
#0A1A05 #0D2206 #20560F #338A18 #47BE21

Accessibility & contrast

On white

8.75
#20560F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#20560F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20560F
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20560F#FFFFFF#000000##FFFFFF
##20560F1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E02
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#1A5349
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #20560f;
/* rgb */ color: rgb(32, 86, 15);
/* oklch */ color: oklch(40.2% 0.116 139.5);
Tailwind
colors: {
  custom: {
    50: '#638653',
    500: '#20560f',
    950: '#000000',
  },
}
SCSS
$custom: #20560f;
$custom-light: #638653;
$custom-dark: #000000;
JSON
{
  "hex": "#20560f",
  "rgb": {
    "r": 32,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 105.634,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.4015,
    "c": 0.11562,
    "h": 139.5
  },
  "luminance": 0.06997
}

Semantic roles & 50–950 ramp

primary
#20560F
secondary
#793190
accent
#3BEDC2
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #20560F

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

Preview Lab → · Contrast checker → · Palette generator →

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