#20310E#20310E

#20310E is a dark, moderate yellow-green. Relative luminance 0.025; OKLCH L 28.9% C 0.061 H 131.1°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#20310E
RGBrgb(32, 49, 14)
HSLhsl(89, 56%, 12%)
HSVhsv(89, 71%, 19%)
CMYKcmyk(34.7%, 0%, 71.4%, 80.8%)
CIE-LABlab(18.08, -14.28, 19.56)
CIE-LCHlch(18.08, 24.22, 126.12°)
OKLaboklab(28.89% -0.04 0.0458)
OKLCHoklch(28.89% 0.061 131.1)
XYZxyz(1.7732, 2.5354, 0.8113)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20310E #1F0E31
analogous
#31310E #20310E #0E310E
triadic
#20310E #0E2031 #310E20
tetradic
#20310E #0E3131 #1F0E31 #310E0E
square
#20310E #0E3131 #1F0E31 #310E0E
split-complementary
#20310E #0E0E31 #310E31
monochromatic
#101807 #101807 #20310E #3F611C #5E9029

Accessibility & contrast

On white

13.93
#20310E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#20310E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20310E
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20310E#FFFFFF#000000##FFFFFF
##20310E1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0A
Deuteranopia (green-blind)
#312C11
Tritanopia (blue-blind)
#212F29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #20310e;
/* rgb */ color: rgb(32, 49, 14);
/* oklch */ color: oklch(28.9% 0.061 131.1);
Tailwind
colors: {
  custom: {
    50: '#5d694e',
    500: '#20310e',
    950: '#000000',
  },
}
SCSS
$custom: #20310e;
$custom-light: #5d694e;
$custom-dark: #000000;
JSON
{
  "hex": "#20310e",
  "rgb": {
    "r": 32,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 89.143,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2889,
    "c": 0.06083,
    "h": 131.1
  },
  "luminance": 0.02535
}

Semantic roles & 50–950 ramp

primary
#20310E
secondary
#4D2F6C
accent
#49DF92
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #20310E

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

Preview Lab → · Contrast checker → · Palette generator →

#20310E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva