#313C0E#313C0E

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

Color values

HEX#313C0E
RGBrgb(49, 60, 14)
HSLhsl(74, 62%, 15%)
HSVhsv(74, 77%, 24%)
CMYKcmyk(18.3%, 0%, 76.7%, 76.5%)
CIE-LABlab(23.39, -12.46, 25.82)
CIE-LCHlch(23.39, 28.67, 115.75°)
OKLaboklab(33.53% -0.0362 0.0585)
OKLCHoklch(33.53% 0.069 121.8)
XYZxyz(2.9618, 3.9164, 1.0153)
Luminance0.0392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313C0E #190E3C
analogous
#3C300E #313C0E #1A3C0E
triadic
#313C0E #0E313C #3C0E31
tetradic
#313C0E #0E3C30 #190E3C #3C0E1A
square
#313C0E #0E3C30 #190E3C #3C0E1A
split-complementary
#313C0E #0E1A3C #300E3C
monochromatic
#141906 #141906 #313C0E #5A6E1A #829F25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##313C0E#FFFFFF#000000##FFFFFF
##313C0E1.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)
#403808
Deuteranopia (green-blind)
#3F3812
Tritanopia (blue-blind)
#343933
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #313c0e;
/* rgb */ color: rgb(49, 60, 14);
/* oklch */ color: oklch(33.5% 0.069 121.8);
Tailwind
colors: {
  custom: {
    50: '#6b714f',
    500: '#313c0e',
    950: '#000000',
  },
}
SCSS
$custom: #313c0e;
$custom-light: #6b714f;
$custom-dark: #000000;
JSON
{
  "hex": "#313c0e",
  "rgb": {
    "r": 49,
    "g": 60,
    "b": 14
  },
  "hsl": {
    "h": 74.348,
    "s": 62.162,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33533,
    "c": 0.06877,
    "h": 121.8
  },
  "luminance": 0.03916
}

Semantic roles & 50–950 ramp

primary
#313C0E
secondary
#402F77
accent
#43E569
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #313C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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