#313D14#313D14

#313D14 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.9% C 0.064 H 123.5°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#313D14
RGBrgb(49, 61, 20)
HSLhsl(78, 51%, 16%)
HSVhsv(78, 67%, 24%)
CMYKcmyk(19.7%, 0%, 67.2%, 76.1%)
CIE-LABlab(23.81, -12.49, 23.15)
CIE-LCHlch(23.81, 26.30, 118.34°)
OKLaboklab(33.89% -0.0356 0.0538)
OKLCHoklch(33.89% 0.064 123.5)
XYZxyz(3.0617, 4.0409, 1.2804)
Luminance0.0404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D14 #20143D
analogous
#3D3414 #313D14 #1C3D14
triadic
#313D14 #14313D #3D1431
tetradic
#313D14 #143D34 #20143D #3D141C
square
#313D14 #143D34 #20143D #3D141C
split-complementary
#313D14 #141C3D #34143D
monochromatic
#131708 #131708 #313D14 #566B23 #7B9932

Accessibility & contrast

On white

11.61
#313D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#313D14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313D14
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D14#FFFFFF#000000##FFFFFF
##313D141.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413910
Deuteranopia (green-blind)
#3F3917
Tritanopia (blue-blind)
#343A34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #313d14;
/* rgb */ color: rgb(49, 61, 20);
/* oklch */ color: oklch(33.9% 0.064 123.5);
Tailwind
colors: {
  custom: {
    50: '#6a7253',
    500: '#313d14',
    950: '#000000',
  },
}
SCSS
$custom: #313d14;
$custom-light: #6a7253;
$custom-dark: #000000;
JSON
{
  "hex": "#313d14",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 20
  },
  "hsl": {
    "h": 77.561,
    "s": 50.617,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33886,
    "c": 0.06449,
    "h": 123.5
  },
  "luminance": 0.04041
}

Semantic roles & 50–950 ramp

primary
#313D14
secondary
#4A3875
accent
#4EDA77
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #313D14

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

Preview Lab → · Contrast checker → · Palette generator →

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