#313A13#313A13

#313A13 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 33.0% C 0.061 H 120.7°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#313A13
RGBrgb(49, 58, 19)
HSLhsl(74, 51%, 15%)
HSVhsv(74, 67%, 23%)
CMYKcmyk(15.5%, 0%, 67.2%, 77.3%)
CIE-LABlab(22.74, -10.81, 22.51)
CIE-LCHlch(22.74, 24.97, 115.65°)
OKLaboklab(33.03% -0.0311 0.0522)
OKLCHoklch(33.03% 0.061 120.7)
XYZxyz(2.8973, 3.7261, 1.1825)
Luminance0.0373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313A13 #1C133A
analogous
#3A2F13 #313A13 #1E3A13
triadic
#313A13 #13313A #3A1331
tetradic
#313A13 #133A2F #1C133A #3A131E
square
#313A13 #133A2F #1C133A #3A131E
split-complementary
#313A13 #131E3A #2F133A
monochromatic
#131708 #131708 #313A13 #586822 #7F9631

Accessibility & contrast

On white

12.03
#313A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313A13
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313A13#FFFFFF#000000##FFFFFF
##313A131.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313a13;
/* rgb */ color: rgb(49, 58, 19);
/* oklch */ color: oklch(33.0% 0.061 120.7);
Tailwind
colors: {
  custom: {
    50: '#6a7052',
    500: '#313a13',
    950: '#000000',
  },
}
SCSS
$custom: #313a13;
$custom-light: #6a7052;
$custom-dark: #000000;
JSON
{
  "hex": "#313a13",
  "rgb": {
    "r": 49,
    "g": 58,
    "b": 19
  },
  "hsl": {
    "h": 73.846,
    "s": 50.649,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33028,
    "c": 0.06078,
    "h": 120.7
  },
  "luminance": 0.03726
}

Semantic roles & 50–950 ramp

primary
#313A13
secondary
#443672
accent
#4EDA6E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #313A13

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

Preview Lab → · Contrast checker → · Palette generator →

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