#313A0E#313A0E

#313A0E is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 33.0% C 0.066 H 120.1°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#313A0E
RGBrgb(49, 58, 14)
HSLhsl(72, 61%, 14%)
HSVhsv(72, 76%, 23%)
CMYKcmyk(15.5%, 0%, 75.9%, 77.3%)
CIE-LABlab(22.69, -11.27, 25.09)
CIE-LCHlch(22.69, 27.51, 114.19°)
OKLaboklab(32.97% -0.0329 0.0569)
OKLCHoklch(32.97% 0.066 120.1)
XYZxyz(2.8590, 3.7108, 0.9810)
Luminance0.0371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313A0E #170E3A
analogous
#3A2D0E #313A0E #1B3A0E
triadic
#313A0E #0E313A #3A0E31
tetradic
#313A0E #0E3A2D #170E3A #3A0E1B
square
#313A0E #0E3A2D #170E3A #3A0E1B
split-complementary
#313A0E #0E1B3A #2D0E3A
monochromatic
#151906 #151906 #313A0E #5B6B1A #849D26

Accessibility & contrast

On white

12.05
#313A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#313A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313A0E
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313A0E#FFFFFF#000000##FFFFFF
##313A0E1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3608
Deuteranopia (green-blind)
#3D3611
Tritanopia (blue-blind)
#343731
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #313a0e;
/* rgb */ color: rgb(49, 58, 14);
/* oklch */ color: oklch(33.0% 0.066 120.1);
Tailwind
colors: {
  custom: {
    50: '#6b704f',
    500: '#313a0e',
    950: '#000000',
  },
}
SCSS
$custom: #313a0e;
$custom-light: #6b704f;
$custom-dark: #000000;
JSON
{
  "hex": "#313a0e",
  "rgb": {
    "r": 49,
    "g": 58,
    "b": 14
  },
  "hsl": {
    "h": 72.273,
    "s": 61.111,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32968,
    "c": 0.06577,
    "h": 120.1
  },
  "luminance": 0.03711
}

Semantic roles & 50–950 ramp

primary
#313A0E
secondary
#3D2F75
accent
#44E464
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #313A0E

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

Preview Lab → · Contrast checker → · Palette generator →

#313A0E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva