#20370F#20370F

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

Color values

HEX#20370F
RGBrgb(32, 55, 15)
HSLhsl(95, 57%, 14%)
HSVhsv(95, 73%, 22%)
CMYKcmyk(41.8%, 0%, 72.7%, 78.4%)
CIE-LABlab(20.34, -17.49, 21.66)
CIE-LCHlch(20.34, 27.84, 128.93°)
OKLaboklab(30.73% -0.0487 0.0502)
OKLCHoklch(30.73% 0.07 134.1)
XYZxyz(2.0480, 3.0739, 0.9372)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20370F #260F37
analogous
#34370F #20370F #0F3712
triadic
#20370F #0F2037 #370F20
tetradic
#20370F #0F3437 #260F37 #37120F
square
#20370F #0F3437 #260F37 #37120F
split-complementary
#20370F #120F37 #370F34
monochromatic
#0E1807 #0E1807 #20370F #3C671C #589729

Accessibility & contrast

On white

13.00
#20370F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20370F
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20370F#FFFFFF#000000##FFFFFF
##20370F1.0013.001.6113.00
#FFFFFF13.001.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320A
Deuteranopia (green-blind)
#363012
Tritanopia (blue-blind)
#20352F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #20370f;
/* rgb */ color: rgb(32, 55, 15);
/* oklch */ color: oklch(30.7% 0.070 134.1);
Tailwind
colors: {
  custom: {
    50: '#5d6e4f',
    500: '#20370f',
    950: '#000000',
  },
}
SCSS
$custom: #20370f;
$custom-light: #5d6e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#20370f",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 15
  },
  "hsl": {
    "h": 94.5,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.30733,
    "c": 0.06993,
    "h": 134.1
  },
  "luminance": 0.03074
}

Semantic roles & 50–950 ramp

primary
#20370F
secondary
#563171
accent
#47E09F
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040702
muted
#797A78

Preview Lab

Preview with #20370F

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

Preview Lab → · Contrast checker → · Palette generator →

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