#31390B#31390B

#31390B is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.7% C 0.067 H 118.9°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#31390B
RGBrgb(49, 57, 11)
HSLhsl(70, 68%, 13%)
HSVhsv(70, 81%, 22%)
CMYKcmyk(14%, 0%, 80.7%, 77.6%)
CIE-LABlab(22.31, -10.91, 26.10)
CIE-LCHlch(22.31, 28.29, 112.68°)
OKLaboklab(32.66% -0.0323 0.0586)
OKLCHoklch(32.66% 0.067 118.9)
XYZxyz(2.7902, 3.6034, 0.8651)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31390B #130B39
analogous
#392A0B #31390B #1A390B
triadic
#31390B #0B3139 #390B31
tetradic
#31390B #0B392A #130B39 #390B1A
square
#31390B #0B392A #130B39 #390B1A
split-complementary
#31390B #0B1A39 #2A0B39
monochromatic
#161A05 #161A05 #31390B #5D6C15 #89A01F

Accessibility & contrast

On white

12.21
#31390B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#31390B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31390B
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31390B#FFFFFF#000000##FFFFFF
##31390B1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3505
Deuteranopia (green-blind)
#3C360F
Tritanopia (blue-blind)
#343530
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #31390b;
/* rgb */ color: rgb(49, 57, 11);
/* oklch */ color: oklch(32.7% 0.067 118.9);
Tailwind
colors: {
  custom: {
    50: '#6b6f4d',
    500: '#31390b',
    950: '#000000',
  },
}
SCSS
$custom: #31390b;
$custom-light: #6b6f4d;
$custom-dark: #000000;
JSON
{
  "hex": "#31390b",
  "rgb": {
    "r": 49,
    "g": 57,
    "b": 11
  },
  "hsl": {
    "h": 70.435,
    "s": 67.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32656,
    "c": 0.06689,
    "h": 118.9
  },
  "luminance": 0.03603
}

Semantic roles & 50–950 ramp

primary
#31390B
secondary
#372A76
accent
#3DEB5B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #31390B

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

Preview Lab → · Contrast checker → · Palette generator →

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