#313A0D#313A0D

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

Color values

HEX#313A0D
RGBrgb(49, 58, 13)
HSLhsl(72, 63%, 14%)
HSVhsv(72, 78%, 23%)
CMYKcmyk(15.5%, 0%, 77.6%, 77.3%)
CIE-LABlab(22.68, -11.35, 25.57)
CIE-LCHlch(22.68, 27.98, 113.94°)
OKLaboklab(32.96% -0.0333 0.0578)
OKLCHoklch(32.96% 0.067 120)
XYZxyz(2.8524, 3.7081, 0.9462)
Luminance0.0371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313A0D #160D3A
analogous
#3A2D0D #313A0D #1B3A0D
triadic
#313A0D #0D313A #3A0D31
tetradic
#313A0D #0D3A2D #160D3A #3A0D1B
square
#313A0D #0D3A2D #160D3A #3A0D1B
split-complementary
#313A0D #0D1B3A #2D0D3A
monochromatic
#151906 #151906 #313A0D #5B6C18 #859E23

Accessibility & contrast

On white

12.06
#313A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313A0D
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313A0D#FFFFFF#000000##FFFFFF
##313A0D1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313a0d;
/* rgb */ color: rgb(49, 58, 13);
/* oklch */ color: oklch(33.0% 0.067 120.0);
Tailwind
colors: {
  custom: {
    50: '#6b704e',
    500: '#313a0d',
    950: '#000000',
  },
}
SCSS
$custom: #313a0d;
$custom-light: #6b704e;
$custom-dark: #000000;
JSON
{
  "hex": "#313a0d",
  "rgb": {
    "r": 49,
    "g": 58,
    "b": 13
  },
  "hsl": {
    "h": 72,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32958,
    "c": 0.06666,
    "h": 120
  },
  "luminance": 0.03708
}

Semantic roles & 50–950 ramp

primary
#313A0D
secondary
#3C2D76
accent
#41E662
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #313A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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