#313D0E#313D0E

#313D0E is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.8% C 0.070 H 122.6°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#313D0E
RGBrgb(49, 61, 14)
HSLhsl(75, 63%, 15%)
HSVhsv(75, 77%, 24%)
CMYKcmyk(19.7%, 0%, 77%, 76.1%)
CIE-LABlab(23.74, -13.04, 26.19)
CIE-LCHlch(23.74, 29.25, 116.47°)
OKLaboklab(33.82% -0.0378 0.0592)
OKLCHoklch(33.82% 0.07 122.6)
XYZxyz(3.0147, 4.0222, 1.0329)
Luminance0.0402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D0E #1A0E3D
analogous
#3D320E #313D0E #1A3D0E
triadic
#313D0E #0E313D #3D0E31
tetradic
#313D0E #0E3D32 #1A0E3D #3D0E1A
square
#313D0E #0E3D32 #1A0E3D #3D0E1A
split-complementary
#313D0E #0E1A3D #320E3D
monochromatic
#141906 #141906 #313D0E #596F19 #81A125

Accessibility & contrast

On white

11.64
#313D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#313D0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313D0E
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D0E#FFFFFF#000000##FFFFFF
##313D0E1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413907
Deuteranopia (green-blind)
#3F3812
Tritanopia (blue-blind)
#343A34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #313d0e;
/* rgb */ color: rgb(49, 61, 14);
/* oklch */ color: oklch(33.8% 0.070 122.6);
Tailwind
colors: {
  custom: {
    50: '#6b724f',
    500: '#313d0e',
    950: '#000000',
  },
}
SCSS
$custom: #313d0e;
$custom-light: #6b724f;
$custom-dark: #000000;
JSON
{
  "hex": "#313d0e",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 14
  },
  "hsl": {
    "h": 75.319,
    "s": 62.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33817,
    "c": 0.07028,
    "h": 122.6
  },
  "luminance": 0.04022
}

Semantic roles & 50–950 ramp

primary
#313D0E
secondary
#412F78
accent
#42E66C
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #313D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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