#313C14#313C14

#313C14 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.6% C 0.063 H 122.7°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#313C14
RGBrgb(49, 60, 20)
HSLhsl(77, 50%, 16%)
HSVhsv(77, 67%, 24%)
CMYKcmyk(18.3%, 0%, 66.7%, 76.5%)
CIE-LABlab(23.46, -11.90, 22.76)
CIE-LCHlch(23.46, 25.68, 117.61°)
OKLaboklab(33.6% -0.034 0.0529)
OKLCHoklch(33.6% 0.063 122.7)
XYZxyz(3.0088, 3.9352, 1.2627)
Luminance0.0394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313C14 #1F143C
analogous
#3C3314 #313C14 #1D3C14
triadic
#313C14 #14313C #3C1431
tetradic
#313C14 #143C33 #1F143C #3C141D
square
#313C14 #143C33 #1F143C #3C141D
split-complementary
#313C14 #141D3C #33143C
monochromatic
#131708 #131708 #313C14 #566A23 #7C9833

Accessibility & contrast

On white

11.75
#313C14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#313C14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313C14
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313C14#FFFFFF#000000##FFFFFF
##313C141.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313c14;
/* rgb */ color: rgb(49, 60, 20);
/* oklch */ color: oklch(33.6% 0.063 122.7);
Tailwind
colors: {
  custom: {
    50: '#6a7153',
    500: '#313c14',
    950: '#000000',
  },
}
SCSS
$custom: #313c14;
$custom-light: #6a7153;
$custom-dark: #000000;
JSON
{
  "hex": "#313c14",
  "rgb": {
    "r": 49,
    "g": 60,
    "b": 20
  },
  "hsl": {
    "h": 76.5,
    "s": 50,
    "l": 15.686
  },
  "oklch": {
    "l": 0.33604,
    "c": 0.06288,
    "h": 122.7
  },
  "luminance": 0.03935
}

Semantic roles & 50–950 ramp

primary
#313C14
secondary
#483874
accent
#4EDA75
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #313C14

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

Preview Lab → · Contrast checker → · Palette generator →

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