#20310D#20310D

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

Color values

HEX#20310D
RGBrgb(32, 49, 13)
HSLhsl(88, 58%, 12%)
HSVhsv(88, 73%, 19%)
CMYKcmyk(34.7%, 0%, 73.5%, 80.8%)
CIE-LABlab(18.07, -14.39, 20.04)
CIE-LCHlch(18.07, 24.67, 125.68°)
OKLaboklab(28.88% -0.0404 0.0469)
OKLCHoklch(28.88% 0.062 130.8)
XYZxyz(1.7666, 2.5327, 0.7765)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20310D #1E0D31
analogous
#31300D #20310D #0E310D
triadic
#20310D #0D2031 #310D20
tetradic
#20310D #0D3130 #1E0D31 #310D0E
square
#20310D #0D3130 #1E0D31 #310D0E
split-complementary
#20310D #0D0E31 #300D31
monochromatic
#101806 #101806 #20310D #40611A #5F9227

Accessibility & contrast

On white

13.94
#20310D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20310D
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20310D#FFFFFF#000000##FFFFFF
##20310D1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20310d;
/* rgb */ color: rgb(32, 49, 13);
/* oklch */ color: oklch(28.9% 0.062 130.8);
Tailwind
colors: {
  custom: {
    50: '#5d694d',
    500: '#20310d',
    950: '#000000',
  },
}
SCSS
$custom: #20310d;
$custom-light: #5d694d;
$custom-dark: #000000;
JSON
{
  "hex": "#20310d",
  "rgb": {
    "r": 32,
    "g": 49,
    "b": 13
  },
  "hsl": {
    "h": 88.333,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28877,
    "c": 0.06189,
    "h": 130.8
  },
  "luminance": 0.02533
}

Semantic roles & 50–950 ramp

primary
#20310D
secondary
#4B2E6C
accent
#47E190
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #20310D

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

Preview Lab → · Contrast checker → · Palette generator →

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