#313B16#313B16

#313B16 is a dark, muted yellow-green. Relative luminance 0.038; OKLCH L 33.4% C 0.059 H 122.2°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#313B16
RGBrgb(49, 59, 22)
HSLhsl(76, 46%, 16%)
HSVhsv(76, 63%, 23%)
CMYKcmyk(16.9%, 0%, 62.7%, 76.9%)
CIE-LABlab(23.13, -11.09, 21.26)
CIE-LCHlch(23.13, 23.97, 117.55°)
OKLaboklab(33.35% -0.0315 0.0499)
OKLCHoklch(33.35% 0.059 122.2)
XYZxyz(2.9754, 3.8388, 1.3431)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313B16 #20163B
analogous
#3B3216 #313B16 #1E3B16
triadic
#313B16 #16313B #3B1631
tetradic
#313B16 #163B32 #20163B #3B161E
square
#313B16 #163B32 #20163B #3B161E
split-complementary
#313B16 #161E3B #32163B
monochromatic
#131608 #131608 #313B16 #566827 #7B9437

Accessibility & contrast

On white

11.88
#313B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#313B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313B16
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313B16#FFFFFF#000000##FFFFFF
##313B161.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3712
Deuteranopia (green-blind)
#3D3718
Tritanopia (blue-blind)
#343833
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #313b16;
/* rgb */ color: rgb(49, 59, 22);
/* oklch */ color: oklch(33.4% 0.059 122.2);
Tailwind
colors: {
  custom: {
    50: '#6a7054',
    500: '#313b16',
    950: '#000000',
  },
}
SCSS
$custom: #313b16;
$custom-light: #6a7054;
$custom-dark: #000000;
JSON
{
  "hex": "#313b16",
  "rgb": {
    "r": 49,
    "g": 59,
    "b": 22
  },
  "hsl": {
    "h": 76.216,
    "s": 45.679,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33351,
    "c": 0.05903,
    "h": 122.2
  },
  "luminance": 0.03839
}

Semantic roles & 50–950 ramp

primary
#313B16
secondary
#4A3B72
accent
#52D576
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060703
muted
#7A7A78

Preview Lab

Preview with #313B16

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

Preview Lab → · Contrast checker → · Palette generator →

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