#20310A#20310A

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

Color values

HEX#20310A
RGBrgb(32, 49, 10)
HSLhsl(86, 66%, 12%)
HSVhsv(86, 80%, 19%)
CMYKcmyk(34.7%, 0%, 79.6%, 80.8%)
CIE-LABlab(18.03, -14.70, 21.33)
CIE-LCHlch(18.03, 25.91, 124.57°)
OKLaboklab(28.84% -0.0416 0.0497)
OKLCHoklch(28.84% 0.065 129.9)
XYZxyz(1.7488, 2.5256, 0.6824)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20310A #1B0A31
analogous
#312F0A #20310A #0D310A
triadic
#20310A #0A2031 #310A20
tetradic
#20310A #0A312F #1B0A31 #310A0D
square
#20310A #0A312F #1B0A31 #310A0D
split-complementary
#20310A #0A0D31 #2F0A31
monochromatic
#111905 #111905 #20310A #416414 #62971F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20310A#FFFFFF#000000##FFFFFF
##20310A1.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)
#342D05
Deuteranopia (green-blind)
#312C0D
Tritanopia (blue-blind)
#212F29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #20310a;
/* rgb */ color: rgb(32, 49, 10);
/* oklch */ color: oklch(28.8% 0.065 129.9);
Tailwind
colors: {
  custom: {
    50: '#5d694c',
    500: '#20310a',
    950: '#000000',
  },
}
SCSS
$custom: #20310a;
$custom-light: #5d694c;
$custom-dark: #000000;
JSON
{
  "hex": "#20310a",
  "rgb": {
    "r": 32,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 86.154,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28841,
    "c": 0.0648,
    "h": 129.9
  },
  "luminance": 0.02526
}

Semantic roles & 50–950 ramp

primary
#20310A
secondary
#47296E
accent
#3FE989
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #20310A

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

Preview Lab → · Contrast checker → · Palette generator →

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