#31390D#31390D

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

Color values

HEX#31390D
RGBrgb(49, 57, 13)
HSLhsl(71, 63%, 14%)
HSVhsv(71, 77%, 22%)
CMYKcmyk(14%, 0%, 77.2%, 77.6%)
CIE-LABlab(22.33, -10.76, 25.21)
CIE-LCHlch(22.33, 27.41, 113.11°)
OKLaboklab(32.68% -0.0316 0.057)
OKLCHoklch(32.68% 0.065 119)
XYZxyz(2.8024, 3.6083, 0.9295)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31390D #150D39
analogous
#392B0D #31390D #1B390D
triadic
#31390D #0D3139 #390D31
tetradic
#31390D #0D392B #150D39 #390D1B
square
#31390D #0D392B #150D39 #390D1B
split-complementary
#31390D #0D1B39 #2B0D39
monochromatic
#151906 #151906 #31390D #5C6B18 #879D24

Accessibility & contrast

On white

12.20
#31390D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #31390D
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31390D#FFFFFF#000000##FFFFFF
##31390D1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31390d;
/* rgb */ color: rgb(49, 57, 13);
/* oklch */ color: oklch(32.7% 0.065 119.0);
Tailwind
colors: {
  custom: {
    50: '#6b6f4e',
    500: '#31390d',
    950: '#000000',
  },
}
SCSS
$custom: #31390d;
$custom-light: #6b6f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#31390d",
  "rgb": {
    "r": 49,
    "g": 57,
    "b": 13
  },
  "hsl": {
    "h": 70.909,
    "s": 62.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32676,
    "c": 0.06518,
    "h": 119
  },
  "luminance": 0.03608
}

Semantic roles & 50–950 ramp

primary
#31390D
secondary
#3A2D74
accent
#42E660
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #31390D

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

Preview Lab → · Contrast checker → · Palette generator →

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