#313C13#313C13

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

Color values

HEX#313C13
RGBrgb(49, 60, 19)
HSLhsl(76, 52%, 15%)
HSVhsv(76, 68%, 24%)
CMYKcmyk(18.3%, 0%, 68.3%, 76.5%)
CIE-LABlab(23.44, -12.00, 23.29)
CIE-LCHlch(23.44, 26.20, 117.26°)
OKLaboklab(33.59% -0.0344 0.0539)
OKLCHoklch(33.59% 0.064 122.5)
XYZxyz(3.0000, 3.9317, 1.2168)
Luminance0.0393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313C13 #1E133C
analogous
#3C3213 #313C13 #1C3C13
triadic
#313C13 #13313C #3C1331
tetradic
#313C13 #133C32 #1E133C #3C131C
square
#313C13 #133C32 #1E133C #3C131C
split-complementary
#313C13 #131C3C #32133C
monochromatic
#131707 #131707 #313C13 #576A22 #7D9930

Accessibility & contrast

On white

11.76
#313C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313C13
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313C13#FFFFFF#000000##FFFFFF
##313C131.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380E
Deuteranopia (green-blind)
#3E3816
Tritanopia (blue-blind)
#343933
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #313c13;
/* rgb */ color: rgb(49, 60, 19);
/* oklch */ color: oklch(33.6% 0.064 122.5);
Tailwind
colors: {
  custom: {
    50: '#6a7152',
    500: '#313c13',
    950: '#000000',
  },
}
SCSS
$custom: #313c13;
$custom-light: #6a7152;
$custom-dark: #000000;
JSON
{
  "hex": "#313c13",
  "rgb": {
    "r": 49,
    "g": 60,
    "b": 19
  },
  "hsl": {
    "h": 76.098,
    "s": 51.899,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33591,
    "c": 0.06394,
    "h": 122.5
  },
  "luminance": 0.03932
}

Semantic roles & 50–950 ramp

primary
#313C13
secondary
#473674
accent
#4CDB73
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #313C13

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

Preview Lab → · Contrast checker → · Palette generator →

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