#313A15#313A15

#313A15 is a dark, muted yellow-green. Relative luminance 0.037; OKLCH L 33.1% C 0.059 H 121.1°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#313A15
RGBrgb(49, 58, 21)
HSLhsl(75, 47%, 15%)
HSVhsv(75, 64%, 23%)
CMYKcmyk(15.5%, 0%, 63.8%, 77.3%)
CIE-LABlab(22.77, -10.60, 21.41)
CIE-LCHlch(22.77, 23.89, 116.33°)
OKLaboklab(33.06% -0.0302 0.0502)
OKLCHoklch(33.06% 0.059 121.1)
XYZxyz(2.9151, 3.7332, 1.2763)
Luminance0.0373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313A15 #1E153A
analogous
#3A3015 #313A15 #1E3A15
triadic
#313A15 #15313A #3A1531
tetradic
#313A15 #153A30 #1E153A #3A151E
square
#313A15 #153A30 #1E153A #3A151E
split-complementary
#313A15 #151E3A #30153A
monochromatic
#131608 #131608 #313A15 #576725 #7D9436

Accessibility & contrast

On white

12.02
#313A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#313A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313A15
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313A15#FFFFFF#000000##FFFFFF
##313A151.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3611
Deuteranopia (green-blind)
#3D3617
Tritanopia (blue-blind)
#343732
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #313a15;
/* rgb */ color: rgb(49, 58, 21);
/* oklch */ color: oklch(33.1% 0.059 121.1);
Tailwind
colors: {
  custom: {
    50: '#6a7054',
    500: '#313a15',
    950: '#000000',
  },
}
SCSS
$custom: #313a15;
$custom-light: #6a7054;
$custom-dark: #000000;
JSON
{
  "hex": "#313a15",
  "rgb": {
    "r": 49,
    "g": 58,
    "b": 21
  },
  "hsl": {
    "h": 74.595,
    "s": 46.835,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33055,
    "c": 0.05856,
    "h": 121.1
  },
  "luminance": 0.03733
}

Semantic roles & 50–950 ramp

primary
#313A15
secondary
#473971
accent
#51D672
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #313A15

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

Preview Lab → · Contrast checker → · Palette generator →

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