#313E15#313E15

#313E15 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.2% C 0.065 H 124.5°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#313E15
RGBrgb(49, 62, 21)
HSLhsl(79, 49%, 16%)
HSVhsv(79, 66%, 24%)
CMYKcmyk(21%, 0%, 66.1%, 75.7%)
CIE-LABlab(24.17, -12.97, 23.01)
CIE-LCHlch(24.17, 26.41, 119.41°)
OKLaboklab(34.18% -0.0368 0.0536)
OKLCHoklch(34.18% 0.065 124.5)
XYZxyz(3.1246, 4.1523, 1.3462)
Luminance0.0415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E15 #22153E
analogous
#3E3715 #313E15 #1D3E15
triadic
#313E15 #15313E #3E1531
tetradic
#313E15 #153E37 #22153E #3E151D
square
#313E15 #153E37 #22153E #3E151D
split-complementary
#313E15 #151D3E #37153E
monochromatic
#121708 #121708 #313E15 #556C24 #799934

Accessibility & contrast

On white

11.47
#313E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313E15
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E15#FFFFFF#000000##FFFFFF
##313E151.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313e15;
/* rgb */ color: rgb(49, 62, 21);
/* oklch */ color: oklch(34.2% 0.065 124.5);
Tailwind
colors: {
  custom: {
    50: '#6a7354',
    500: '#313e15',
    950: '#000000',
  },
}
SCSS
$custom: #313e15;
$custom-light: #6a7354;
$custom-dark: #000000;
JSON
{
  "hex": "#313e15",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 21
  },
  "hsl": {
    "h": 79.024,
    "s": 49.398,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34182,
    "c": 0.06503,
    "h": 124.5
  },
  "luminance": 0.04152
}

Semantic roles & 50–950 ramp

primary
#313E15
secondary
#4C3976
accent
#4FD97B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060803
muted
#7A7B78

Preview Lab

Preview with #313E15

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

Preview Lab → · Contrast checker → · Palette generator →

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