#31390E#31390E

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

Color values

HEX#31390E
RGBrgb(49, 57, 14)
HSLhsl(71, 61%, 14%)
HSVhsv(71, 75%, 22%)
CMYKcmyk(14%, 0%, 75.4%, 77.6%)
CIE-LABlab(22.34, -10.67, 24.72)
CIE-LCHlch(22.34, 26.93, 113.35°)
OKLaboklab(32.69% -0.0313 0.0561)
OKLCHoklch(32.69% 0.064 119.1)
XYZxyz(2.8091, 3.6109, 0.9644)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31390E #160E39
analogous
#392C0E #31390E #1C390E
triadic
#31390E #0E3139 #390E31
tetradic
#31390E #0E392C #160E39 #390E1C
square
#31390E #0E392C #160E39 #390E1C
split-complementary
#31390E #0E1C39 #2C0E39
monochromatic
#151906 #151906 #31390E #5B6A1A #859B26

Accessibility & contrast

On white

12.19
#31390E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31390E
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31390E#FFFFFF#000000##FFFFFF
##31390E1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3508
Deuteranopia (green-blind)
#3C3611
Tritanopia (blue-blind)
#343630
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #31390e;
/* rgb */ color: rgb(49, 57, 14);
/* oklch */ color: oklch(32.7% 0.064 119.1);
Tailwind
colors: {
  custom: {
    50: '#6b6f4f',
    500: '#31390e',
    950: '#000000',
  },
}
SCSS
$custom: #31390e;
$custom-light: #6b6f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#31390e",
  "rgb": {
    "r": 49,
    "g": 57,
    "b": 14
  },
  "hsl": {
    "h": 71.163,
    "s": 60.563,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32686,
    "c": 0.06427,
    "h": 119.1
  },
  "luminance": 0.03611
}

Semantic roles & 50–950 ramp

primary
#31390E
secondary
#3C2F74
accent
#44E462
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #31390E

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

Preview Lab → · Contrast checker → · Palette generator →

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