#313C15#313C15

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

Color values

HEX#313C15
RGBrgb(49, 60, 21)
HSLhsl(77, 48%, 16%)
HSVhsv(77, 65%, 24%)
CMYKcmyk(18.3%, 0%, 65%, 76.5%)
CIE-LABlab(23.47, -11.79, 22.21)
CIE-LCHlch(23.47, 25.15, 117.96°)
OKLaboklab(33.62% -0.0336 0.0519)
OKLCHoklch(33.62% 0.062 122.9)
XYZxyz(3.0179, 3.9388, 1.3106)
Luminance0.0394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313C15 #20153C
analogous
#3C3315 #313C15 #1D3C15
triadic
#313C15 #15313C #3C1531
tetradic
#313C15 #153C33 #20153C #3C151D
square
#313C15 #153C33 #20153C #3C151D
split-complementary
#313C15 #151D3C #33153C
monochromatic
#131708 #131708 #313C15 #566925 #7B9735

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##313C15#FFFFFF#000000##FFFFFF
##313C151.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)
#403811
Deuteranopia (green-blind)
#3E3817
Tritanopia (blue-blind)
#343933
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #313c15;
/* rgb */ color: rgb(49, 60, 21);
/* oklch */ color: oklch(33.6% 0.062 122.9);
Tailwind
colors: {
  custom: {
    50: '#6a7154',
    500: '#313c15',
    950: '#000000',
  },
}
SCSS
$custom: #313c15;
$custom-light: #6a7154;
$custom-dark: #000000;
JSON
{
  "hex": "#313c15",
  "rgb": {
    "r": 49,
    "g": 60,
    "b": 21
  },
  "hsl": {
    "h": 76.923,
    "s": 48.148,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33618,
    "c": 0.06179,
    "h": 122.9
  },
  "luminance": 0.03939
}

Semantic roles & 50–950 ramp

primary
#313C15
secondary
#4A3974
accent
#50D876
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #313C15

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

Preview Lab → · Contrast checker → · Palette generator →

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