#313C0D#313C0D

#313C0D is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.5% C 0.070 H 121.7°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#313C0D
RGBrgb(49, 60, 13)
HSLhsl(74, 64%, 14%)
HSVhsv(74, 78%, 24%)
CMYKcmyk(18.3%, 0%, 78.3%, 76.5%)
CIE-LABlab(23.38, -12.53, 26.30)
CIE-LCHlch(23.38, 29.13, 115.49°)
OKLaboklab(33.52% -0.0366 0.0593)
OKLCHoklch(33.52% 0.07 121.7)
XYZxyz(2.9552, 3.9137, 0.9804)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313C0D #180D3C
analogous
#3C300D #313C0D #1A3C0D
triadic
#313C0D #0D313C #3C0D31
tetradic
#313C0D #0D3C30 #180D3C #3C0D1A
square
#313C0D #0D3C30 #180D3C #3C0D1A
split-complementary
#313C0D #0D1A3C #300D3C
monochromatic
#151905 #151905 #313C0D #5A6E18 #83A123

Accessibility & contrast

On white

11.78
#313C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#313C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313C0D
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313C0D#FFFFFF#000000##FFFFFF
##313C0D1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403806
Deuteranopia (green-blind)
#3F3811
Tritanopia (blue-blind)
#343933
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #313c0d;
/* rgb */ color: rgb(49, 60, 13);
/* oklch */ color: oklch(33.5% 0.070 121.7);
Tailwind
colors: {
  custom: {
    50: '#6b714f',
    500: '#313c0d',
    950: '#000000',
  },
}
SCSS
$custom: #313c0d;
$custom-light: #6b714f;
$custom-dark: #000000;
JSON
{
  "hex": "#313c0d",
  "rgb": {
    "r": 49,
    "g": 60,
    "b": 13
  },
  "hsl": {
    "h": 74.043,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33523,
    "c": 0.06963,
    "h": 121.7
  },
  "luminance": 0.03914
}

Semantic roles & 50–950 ramp

primary
#313C0D
secondary
#3F2D78
accent
#40E767
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #313C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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