#313D15#313D15

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

Color values

HEX#313D15
RGBrgb(49, 61, 21)
HSLhsl(78, 49%, 16%)
HSVhsv(78, 66%, 24%)
CMYKcmyk(19.7%, 0%, 65.6%, 76.1%)
CIE-LABlab(23.82, -12.38, 22.61)
CIE-LCHlch(23.82, 25.78, 118.71°)
OKLaboklab(33.9% -0.0352 0.0527)
OKLCHoklch(33.9% 0.063 123.7)
XYZxyz(3.0707, 4.0446, 1.3282)
Luminance0.0404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D15 #21153D
analogous
#3D3515 #313D15 #1D3D15
triadic
#313D15 #15313D #3D1531
tetradic
#313D15 #153D35 #21153D #3D151D
square
#313D15 #153D35 #21153D #3D151D
split-complementary
#313D15 #151D3D #35153D
monochromatic
#121708 #121708 #313D15 #566B25 #7A9834

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##313D15#FFFFFF#000000##FFFFFF
##313D151.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)
#413911
Deuteranopia (green-blind)
#3F3918
Tritanopia (blue-blind)
#333A34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #313d15;
/* rgb */ color: rgb(49, 61, 21);
/* oklch */ color: oklch(33.9% 0.063 123.7);
Tailwind
colors: {
  custom: {
    50: '#6a7254',
    500: '#313d15',
    950: '#000000',
  },
}
SCSS
$custom: #313d15;
$custom-light: #6a7254;
$custom-dark: #000000;
JSON
{
  "hex": "#313d15",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 21
  },
  "hsl": {
    "h": 78,
    "s": 48.78,
    "l": 16.078
  },
  "oklch": {
    "l": 0.339,
    "c": 0.06341,
    "h": 123.7
  },
  "luminance": 0.04045
}

Semantic roles & 50–950 ramp

primary
#313D15
secondary
#4B3975
accent
#4FD879
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060803
muted
#7A7B78

Preview Lab

Preview with #313D15

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

Preview Lab → · Contrast checker → · Palette generator →

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