#313E13#313E13

#313E13 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.2% C 0.067 H 124.1°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#313E13
RGBrgb(49, 62, 19)
HSLhsl(78, 53%, 16%)
HSVhsv(78, 69%, 24%)
CMYKcmyk(21%, 0%, 69.4%, 75.7%)
CIE-LABlab(24.15, -13.17, 24.07)
CIE-LCHlch(24.15, 27.44, 118.69°)
OKLaboklab(34.16% -0.0377 0.0556)
OKLCHoklch(34.16% 0.067 124.1)
XYZxyz(3.1068, 4.1452, 1.2524)
Luminance0.0415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E13 #20133E
analogous
#3E3513 #313E13 #1B3E13
triadic
#313E13 #13313E #3E1331
tetradic
#313E13 #133E35 #20133E #3E131B
square
#313E13 #133E35 #20133E #3E131B
split-complementary
#313E13 #131B3E #35133E
monochromatic
#131707 #131707 #313E13 #566D21 #7B9C30

Accessibility & contrast

On white

11.48
#313E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#313E13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313E13
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E13#FFFFFF#000000##FFFFFF
##313E131.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0E
Deuteranopia (green-blind)
#403916
Tritanopia (blue-blind)
#333B35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #313e13;
/* rgb */ color: rgb(49, 62, 19);
/* oklch */ color: oklch(34.2% 0.067 124.1);
Tailwind
colors: {
  custom: {
    50: '#6a7353',
    500: '#313e13',
    950: '#000000',
  },
}
SCSS
$custom: #313e13;
$custom-light: #6a7353;
$custom-dark: #000000;
JSON
{
  "hex": "#313e13",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 19
  },
  "hsl": {
    "h": 78.14,
    "s": 53.086,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34156,
    "c": 0.06712,
    "h": 124.1
  },
  "luminance": 0.04145
}

Semantic roles & 50–950 ramp

primary
#313E13
secondary
#4A3677
accent
#4BDC77
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #313E13

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

Preview Lab → · Contrast checker → · Palette generator →

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