#20570F#20570F

#20570F is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.5% C 0.117 H 139.6°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#20570F
RGBrgb(32, 87, 15)
HSLhsl(106, 71%, 20%)
HSVhsv(106, 83%, 34%)
CMYKcmyk(63.2%, 0%, 82.8%, 65.9%)
CIE-LABlab(32.16, -32.39, 33.87)
CIE-LCHlch(32.16, 46.86, 133.72°)
OKLaboklab(40.45% -0.0891 0.0758)
OKLCHoklch(40.45% 0.117 139.6)
XYZxyz(4.0899, 7.1576, 1.6179)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20570F #460F57
analogous
#44570F #20570F #0F5722
triadic
#20570F #0F2057 #570F20
tetradic
#20570F #0F4457 #460F57 #57220F
square
#20570F #0F4457 #460F57 #57220F
split-complementary
#20570F #220F57 #570F44
monochromatic
#0A1A05 #0D2306 #20570F #338B18 #46BF21

Accessibility & contrast

On white

8.64
#20570F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#20570F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20570F
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20570F#FFFFFF#000000##FFFFFF
##20570F1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4E01
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#195449
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #20570f;
/* rgb */ color: rgb(32, 87, 15);
/* oklch */ color: oklch(40.5% 0.117 139.6);
Tailwind
colors: {
  custom: {
    50: '#638754',
    500: '#20570f',
    950: '#000000',
  },
}
SCSS
$custom: #20570f;
$custom-light: #638754;
$custom-dark: #000000;
JSON
{
  "hex": "#20570f",
  "rgb": {
    "r": 32,
    "g": 87,
    "b": 15
  },
  "hsl": {
    "h": 105.833,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.4045,
    "c": 0.11694,
    "h": 139.6
  },
  "luminance": 0.07158
}

Semantic roles & 50–950 ramp

primary
#20570F
secondary
#7A3191
accent
#3AEDC3
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #20570F

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

Preview Lab → · Contrast checker → · Palette generator →

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