#31390A#31390A

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

Color values

HEX#31390A
RGBrgb(49, 57, 10)
HSLhsl(70, 70%, 13%)
HSVhsv(70, 82%, 22%)
CMYKcmyk(14%, 0%, 82.5%, 77.6%)
CIE-LABlab(22.31, -10.98, 26.51)
CIE-LCHlch(22.31, 28.69, 112.49°)
OKLaboklab(32.65% -0.0326 0.0593)
OKLCHoklch(32.65% 0.068 118.8)
XYZxyz(2.7846, 3.6012, 0.8355)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31390A #120A39
analogous
#39290A #31390A #19390A
triadic
#31390A #0A3139 #390A31
tetradic
#31390A #0A3929 #120A39 #390A19
square
#31390A #0A3929 #120A39 #390A19
split-complementary
#31390A #0A1939 #290A39
monochromatic
#161A05 #161A05 #31390A #5E6D13 #8BA11C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31390A#FFFFFF#000000##FFFFFF
##31390A1.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)
#3D3504
Deuteranopia (green-blind)
#3C360E
Tritanopia (blue-blind)
#343530
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #31390a;
/* rgb */ color: rgb(49, 57, 10);
/* oklch */ color: oklch(32.6% 0.068 118.8);
Tailwind
colors: {
  custom: {
    50: '#6b6f4d',
    500: '#31390a',
    950: '#000000',
  },
}
SCSS
$custom: #31390a;
$custom-light: #6b6f4d;
$custom-dark: #000000;
JSON
{
  "hex": "#31390a",
  "rgb": {
    "r": 49,
    "g": 57,
    "b": 10
  },
  "hsl": {
    "h": 70.213,
    "s": 70.149,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32647,
    "c": 0.06768,
    "h": 118.8
  },
  "luminance": 0.03601
}

Semantic roles & 50–950 ramp

primary
#31390A
secondary
#362876
accent
#3BED59
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #31390A

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

Preview Lab → · Contrast checker → · Palette generator →

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