#20310B#20310B

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

Color values

HEX#20310B
RGBrgb(32, 49, 11)
HSLhsl(87, 63%, 12%)
HSVhsv(87, 78%, 19%)
CMYKcmyk(34.7%, 0%, 77.6%, 80.8%)
CIE-LABlab(18.04, -14.60, 20.93)
CIE-LCHlch(18.04, 25.52, 124.91°)
OKLaboklab(28.85% -0.0412 0.0488)
OKLCHoklch(28.85% 0.064 130.2)
XYZxyz(1.7544, 2.5278, 0.7120)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20310B #1C0B31
analogous
#312F0B #20310B #0D310B
triadic
#20310B #0B2031 #310B20
tetradic
#20310B #0B312F #1C0B31 #310B0D
square
#20310B #0B312F #1C0B31 #310B0D
split-complementary
#20310B #0B0D31 #2F0B31
monochromatic
#101906 #101906 #20310B #416316 #619521

Accessibility & contrast

On white

13.95
#20310B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20310B
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20310B#FFFFFF#000000##FFFFFF
##20310B1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D07
Deuteranopia (green-blind)
#312C0E
Tritanopia (blue-blind)
#212F29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #20310b;
/* rgb */ color: rgb(32, 49, 11);
/* oklch */ color: oklch(28.9% 0.064 130.2);
Tailwind
colors: {
  custom: {
    50: '#5d694c',
    500: '#20310b',
    950: '#000000',
  },
}
SCSS
$custom: #20310b;
$custom-light: #5d694c;
$custom-dark: #000000;
JSON
{
  "hex": "#20310b",
  "rgb": {
    "r": 32,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 86.842,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28852,
    "c": 0.06387,
    "h": 130.2
  },
  "luminance": 0.02528
}

Semantic roles & 50–950 ramp

primary
#20310B
secondary
#482A6E
accent
#41E68B
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #20310B

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

Preview Lab → · Contrast checker → · Palette generator →

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