#313B0D#313B0D

#313B0D is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.2% C 0.068 H 120.8°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#313B0D
RGBrgb(49, 59, 13)
HSLhsl(73, 64%, 14%)
HSVhsv(73, 78%, 23%)
CMYKcmyk(16.9%, 0%, 78%, 76.9%)
CIE-LABlab(23.03, -11.95, 25.94)
CIE-LCHlch(23.03, 28.56, 114.73°)
OKLaboklab(33.24% -0.0349 0.0585)
OKLCHoklch(33.24% 0.068 120.8)
XYZxyz(2.9033, 3.8100, 0.9631)
Luminance0.0381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313B0D #170D3B
analogous
#3B2E0D #313B0D #1A3B0D
triadic
#313B0D #0D313B #3B0D31
tetradic
#313B0D #0D3B2E #170D3B #3B0D1A
square
#313B0D #0D3B2E #170D3B #3B0D1A
split-complementary
#313B0D #0D1A3B #2E0D3B
monochromatic
#151906 #151906 #313B0D #5B6D18 #849F23

Accessibility & contrast

On white

11.92
#313B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#313B0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313B0D
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313B0D#FFFFFF#000000##FFFFFF
##313B0D1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3707
Deuteranopia (green-blind)
#3E3711
Tritanopia (blue-blind)
#343832
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #313b0d;
/* rgb */ color: rgb(49, 59, 13);
/* oklch */ color: oklch(33.2% 0.068 120.8);
Tailwind
colors: {
  custom: {
    50: '#6b704f',
    500: '#313b0d',
    950: '#000000',
  },
}
SCSS
$custom: #313b0d;
$custom-light: #6b704f;
$custom-dark: #000000;
JSON
{
  "hex": "#313b0d",
  "rgb": {
    "r": 49,
    "g": 59,
    "b": 13
  },
  "hsl": {
    "h": 73.043,
    "s": 63.889,
    "l": 14.118
  },
  "oklch": {
    "l": 0.3324,
    "c": 0.06814,
    "h": 120.8
  },
  "luminance": 0.0381
}

Semantic roles & 50–950 ramp

primary
#313B0D
secondary
#3D2D77
accent
#41E765
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #313B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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