#313D16#313D16

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

Color values

HEX#313D16
RGBrgb(49, 61, 22)
HSLhsl(78, 47%, 16%)
HSVhsv(78, 64%, 24%)
CMYKcmyk(19.7%, 0%, 63.9%, 76.1%)
CIE-LABlab(23.83, -12.27, 22.07)
CIE-LCHlch(23.83, 25.25, 119.08°)
OKLaboklab(33.91% -0.0348 0.0517)
OKLCHoklch(33.91% 0.062 124)
XYZxyz(3.0802, 4.0484, 1.3780)
Luminance0.0405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D16 #22163D
analogous
#3D3616 #313D16 #1E3D16
triadic
#313D16 #16313D #3D1631
tetradic
#313D16 #163D36 #22163D #3D161E
square
#313D16 #163D36 #22163D #3D161E
split-complementary
#313D16 #161E3D #36163D
monochromatic
#121608 #121608 #313D16 #556A26 #799736

Accessibility & contrast

On white

11.60
#313D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313D16
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D16#FFFFFF#000000##FFFFFF
##313D161.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413912
Deuteranopia (green-blind)
#3F3918
Tritanopia (blue-blind)
#333A34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #313d16;
/* rgb */ color: rgb(49, 61, 22);
/* oklch */ color: oklch(33.9% 0.062 124.0);
Tailwind
colors: {
  custom: {
    50: '#6a7254',
    500: '#313d16',
    950: '#000000',
  },
}
SCSS
$custom: #313d16;
$custom-light: #6a7254;
$custom-dark: #000000;
JSON
{
  "hex": "#313d16",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 22
  },
  "hsl": {
    "h": 78.462,
    "s": 46.988,
    "l": 16.275
  },
  "oklch": {
    "l": 0.33914,
    "c": 0.0623,
    "h": 124
  },
  "luminance": 0.04048
}

Semantic roles & 50–950 ramp

primary
#313D16
secondary
#4C3B74
accent
#51D77A
background
#F6F6F4
surface
#EBECE8
border
#C6C7C4
text
#060803
muted
#7A7B78

Preview Lab

Preview with #313D16

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

Preview Lab → · Contrast checker → · Palette generator →

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