#31390F#31390F

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

Color values

HEX#31390F
RGBrgb(49, 57, 15)
HSLhsl(71, 58%, 14%)
HSVhsv(71, 74%, 22%)
CMYKcmyk(14%, 0%, 73.7%, 77.6%)
CIE-LABlab(22.35, -10.59, 24.22)
CIE-LCHlch(22.35, 26.44, 113.61°)
OKLaboklab(32.7% -0.0309 0.0553)
OKLCHoklch(32.7% 0.063 119.2)
XYZxyz(2.8160, 3.6137, 1.0010)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31390F #170F39
analogous
#392C0F #31390F #1C390F
triadic
#31390F #0F3139 #390F31
tetradic
#31390F #0F392C #170F39 #390F1C
square
#31390F #0F392C #170F39 #390F1C
split-complementary
#31390F #0F1C39 #2C0F39
monochromatic
#151806 #151806 #31390F #5B691C #849A29

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31390F#FFFFFF#000000##FFFFFF
##31390F1.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)
#3D350A
Deuteranopia (green-blind)
#3C3612
Tritanopia (blue-blind)
#343630
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #31390f;
/* rgb */ color: rgb(49, 57, 15);
/* oklch */ color: oklch(32.7% 0.063 119.2);
Tailwind
colors: {
  custom: {
    50: '#6a6f50',
    500: '#31390f',
    950: '#000000',
  },
}
SCSS
$custom: #31390f;
$custom-light: #6a6f50;
$custom-dark: #000000;
JSON
{
  "hex": "#31390f",
  "rgb": {
    "r": 49,
    "g": 57,
    "b": 15
  },
  "hsl": {
    "h": 71.429,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32697,
    "c": 0.06333,
    "h": 119.2
  },
  "luminance": 0.03614
}

Semantic roles & 50–950 ramp

primary
#31390F
secondary
#3D3073
accent
#46E264
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #31390F

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

Preview Lab → · Contrast checker → · Palette generator →

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