#313B14#313B14

#313B14 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.3% C 0.061 H 121.8°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#313B14
RGBrgb(49, 59, 20)
HSLhsl(75, 49%, 15%)
HSVhsv(75, 66%, 23%)
CMYKcmyk(16.9%, 0%, 66.1%, 76.9%)
CIE-LABlab(23.11, -11.31, 22.36)
CIE-LCHlch(23.11, 25.06, 116.82°)
OKLaboklab(33.32% -0.0323 0.0521)
OKLCHoklch(33.32% 0.061 121.8)
XYZxyz(2.9569, 3.8314, 1.2454)
Luminance0.0383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313B14 #1E143B
analogous
#3B3114 #313B14 #1D3B14
triadic
#313B14 #14313B #3B1431
tetradic
#313B14 #143B31 #1E143B #3B141D
square
#313B14 #143B31 #1E143B #3B141D
split-complementary
#313B14 #141D3B #31143B
monochromatic
#131708 #131708 #313B14 #576923 #7D9633

Accessibility & contrast

On white

11.89
#313B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313B14
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313B14#FFFFFF#000000##FFFFFF
##313B141.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313b14;
/* rgb */ color: rgb(49, 59, 20);
/* oklch */ color: oklch(33.3% 0.061 121.8);
Tailwind
colors: {
  custom: {
    50: '#6a7053',
    500: '#313b14',
    950: '#000000',
  },
}
SCSS
$custom: #313b14;
$custom-light: #6a7053;
$custom-dark: #000000;
JSON
{
  "hex": "#313b14",
  "rgb": {
    "r": 49,
    "g": 59,
    "b": 20
  },
  "hsl": {
    "h": 75.385,
    "s": 49.367,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33322,
    "c": 0.06128,
    "h": 121.8
  },
  "luminance": 0.03831
}

Semantic roles & 50–950 ramp

primary
#313B14
secondary
#473873
accent
#4FD972
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #313B14

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

Preview Lab → · Contrast checker → · Palette generator →

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