#313A14#313A14

#313A14 is a dark, muted yellow-green. Relative luminance 0.037; OKLCH L 33.0% C 0.060 H 120.9°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#313A14
RGBrgb(49, 58, 20)
HSLhsl(74, 49%, 15%)
HSVhsv(74, 66%, 23%)
CMYKcmyk(15.5%, 0%, 65.5%, 77.3%)
CIE-LABlab(22.76, -10.71, 21.96)
CIE-LCHlch(22.76, 24.44, 115.99°)
OKLaboklab(33.04% -0.0306 0.0512)
OKLCHoklch(33.04% 0.06 120.9)
XYZxyz(2.9060, 3.7296, 1.2285)
Luminance0.0373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313A14 #1D143A
analogous
#3A3014 #313A14 #1E3A14
triadic
#313A14 #14313A #3A1431
tetradic
#313A14 #143A30 #1D143A #3A141E
square
#313A14 #143A30 #1D143A #3A141E
split-complementary
#313A14 #141E3A #30143A
monochromatic
#131708 #131708 #313A14 #576824 #7E9533

Accessibility & contrast

On white

12.03
#313A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#313A14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313A14
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313A14#FFFFFF#000000##FFFFFF
##313A141.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3610
Deuteranopia (green-blind)
#3D3616
Tritanopia (blue-blind)
#343732
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #313a14;
/* rgb */ color: rgb(49, 58, 20);
/* oklch */ color: oklch(33.0% 0.060 120.9);
Tailwind
colors: {
  custom: {
    50: '#6a7053',
    500: '#313a14',
    950: '#000000',
  },
}
SCSS
$custom: #313a14;
$custom-light: #6a7053;
$custom-dark: #000000;
JSON
{
  "hex": "#313a14",
  "rgb": {
    "r": 49,
    "g": 58,
    "b": 20
  },
  "hsl": {
    "h": 74.211,
    "s": 48.718,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33041,
    "c": 0.05968,
    "h": 120.9
  },
  "luminance": 0.0373
}

Semantic roles & 50–950 ramp

primary
#313A14
secondary
#463872
accent
#50D870
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #313A14

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

Preview Lab → · Contrast checker → · Palette generator →

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