#313D13#313D13

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

Color values

HEX#313D13
RGBrgb(49, 61, 19)
HSLhsl(77, 53%, 16%)
HSVhsv(77, 69%, 24%)
CMYKcmyk(19.7%, 0%, 68.9%, 76.1%)
CIE-LABlab(23.80, -12.59, 23.68)
CIE-LCHlch(23.80, 26.82, 118.00°)
OKLaboklab(33.87% -0.036 0.0547)
OKLCHoklch(33.87% 0.066 123.4)
XYZxyz(3.0529, 4.0375, 1.2344)
Luminance0.0404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D13 #1F133D
analogous
#3D3413 #313D13 #1C3D13
triadic
#313D13 #13313D #3D1331
tetradic
#313D13 #133D34 #1F133D #3D131C
square
#313D13 #133D34 #1F133D #3D131C
split-complementary
#313D13 #131C3D #34133D
monochromatic
#131707 #131707 #313D13 #566C22 #7C9A30

Accessibility & contrast

On white

11.62
#313D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313D13
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D13#FFFFFF#000000##FFFFFF
##313D131.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390E
Deuteranopia (green-blind)
#3F3916
Tritanopia (blue-blind)
#343A34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #313d13;
/* rgb */ color: rgb(49, 61, 19);
/* oklch */ color: oklch(33.9% 0.066 123.4);
Tailwind
colors: {
  custom: {
    50: '#6a7253',
    500: '#313d13',
    950: '#000000',
  },
}
SCSS
$custom: #313d13;
$custom-light: #6a7253;
$custom-dark: #000000;
JSON
{
  "hex": "#313d13",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 19
  },
  "hsl": {
    "h": 77.143,
    "s": 52.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.33873,
    "c": 0.06553,
    "h": 123.4
  },
  "luminance": 0.04037
}

Semantic roles & 50–950 ramp

primary
#313D13
secondary
#483675
accent
#4CDC75
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #313D13

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

Preview Lab → · Contrast checker → · Palette generator →

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