#313D19#313D19

#313D19 is a dark, muted yellow-green. Relative luminance 0.041; OKLCH L 34.0% C 0.059 H 124.7°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#313D19
RGBrgb(49, 61, 25)
HSLhsl(80, 42%, 17%)
HSVhsv(80, 59%, 24%)
CMYKcmyk(19.7%, 0%, 59%, 76.1%)
CIE-LABlab(23.87, -11.92, 20.38)
CIE-LCHlch(23.87, 23.61, 120.32°)
OKLaboklab(33.96% -0.0335 0.0484)
OKLCHoklch(33.96% 0.059 124.7)
XYZxyz(3.1108, 4.0606, 1.5394)
Luminance0.0406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D19 #25193D
analogous
#3D3719 #313D19 #1F3D19
triadic
#313D19 #19313D #3D1931
tetradic
#313D19 #193D37 #25193D #3D191F
square
#313D19 #193D37 #25193D #3D191F
split-complementary
#313D19 #191F3D #37193D
monochromatic
#111609 #111609 #313D19 #54682B #77943D

Accessibility & contrast

On white

11.59
#313D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313D19
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D19#FFFFFF#000000##FFFFFF
##313D191.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403916
Deuteranopia (green-blind)
#3F391B
Tritanopia (blue-blind)
#333A35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #313d19;
/* rgb */ color: rgb(49, 61, 25);
/* oklch */ color: oklch(34.0% 0.059 124.7);
Tailwind
colors: {
  custom: {
    50: '#6a7257',
    500: '#313d19',
    950: '#000000',
  },
}
SCSS
$custom: #313d19;
$custom-light: #6a7257;
$custom-dark: #000000;
JSON
{
  "hex": "#313d19",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 25
  },
  "hsl": {
    "h": 80,
    "s": 41.86,
    "l": 16.863
  },
  "oklch": {
    "l": 0.33959,
    "c": 0.05882,
    "h": 124.7
  },
  "luminance": 0.04061
}

Semantic roles & 50–950 ramp

primary
#313D19
secondary
#503F73
accent
#56D27F
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #313D19

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

Preview Lab → · Contrast checker → · Palette generator →

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