#20370C#20370C

#20370C is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 30.7% C 0.073 H 133.3°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#20370C
RGBrgb(32, 55, 12)
HSLhsl(92, 64%, 13%)
HSVhsv(92, 78%, 22%)
CMYKcmyk(41.8%, 0%, 78.2%, 78.4%)
CIE-LABlab(20.31, -17.81, 23.10)
CIE-LCHlch(20.31, 29.17, 127.63°)
OKLaboklab(30.7% -0.0499 0.053)
OKLCHoklch(30.7% 0.073 133.3)
XYZxyz(2.0282, 3.0659, 0.8327)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20370C #230C37
analogous
#35370C #20370C #0C370D
triadic
#20370C #0C2037 #370C20
tetradic
#20370C #0C3537 #230C37 #370D0C
square
#20370C #0C3537 #230C37 #370D0C
split-complementary
#20370C #0D0C37 #370C35
monochromatic
#0F1905 #0F1905 #20370C #3D6917 #5A9B22

Accessibility & contrast

On white

13.02
#20370C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#20370C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20370C
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20370C#FFFFFF#000000##FFFFFF
##20370C1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3207
Deuteranopia (green-blind)
#363010
Tritanopia (blue-blind)
#20352E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #20370c;
/* rgb */ color: rgb(32, 55, 12);
/* oklch */ color: oklch(30.7% 0.073 133.3);
Tailwind
colors: {
  custom: {
    50: '#5e6e4d',
    500: '#20370c',
    950: '#000000',
  },
}
SCSS
$custom: #20370c;
$custom-light: #5e6e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#20370c",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 12
  },
  "hsl": {
    "h": 92.093,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30697,
    "c": 0.07274,
    "h": 133.3
  },
  "luminance": 0.03066
}

Semantic roles & 50–950 ramp

primary
#20370C
secondary
#522C73
accent
#41E79A
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #20370C

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

Preview Lab → · Contrast checker → · Palette generator →

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