#313E16#313E16

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

Color values

HEX#313E16
RGBrgb(49, 62, 22)
HSLhsl(80, 48%, 16%)
HSVhsv(80, 65%, 24%)
CMYKcmyk(21%, 0%, 64.5%, 75.7%)
CIE-LABlab(24.18, -12.86, 22.47)
CIE-LCHlch(24.18, 25.89, 119.78°)
OKLaboklab(34.2% -0.0364 0.0525)
OKLCHoklch(34.2% 0.064 124.7)
XYZxyz(3.1341, 4.1561, 1.3960)
Luminance0.0416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E16 #23163E
analogous
#3E3716 #313E16 #1D3E16
triadic
#313E16 #16313E #3E1631
tetradic
#313E16 #163E37 #23163E #3E161D
square
#313E16 #163E37 #23163E #3E161D
split-complementary
#313E16 #161D3E #37163E
monochromatic
#121708 #121708 #313E16 #556B26 #789836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##313E16#FFFFFF#000000##FFFFFF
##313E161.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)
#423A12
Deuteranopia (green-blind)
#403919
Tritanopia (blue-blind)
#333B35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #313e16;
/* rgb */ color: rgb(49, 62, 22);
/* oklch */ color: oklch(34.2% 0.064 124.7);
Tailwind
colors: {
  custom: {
    50: '#6a7355',
    500: '#313e16',
    950: '#000000',
  },
}
SCSS
$custom: #313e16;
$custom-light: #6a7355;
$custom-dark: #000000;
JSON
{
  "hex": "#313e16",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 22
  },
  "hsl": {
    "h": 79.5,
    "s": 47.619,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34196,
    "c": 0.06394,
    "h": 124.7
  },
  "luminance": 0.04156
}

Semantic roles & 50–950 ramp

primary
#313E16
secondary
#4E3B75
accent
#51D77C
background
#F6F6F4
surface
#EBECE8
border
#C6C7C4
text
#060803
muted
#7A7B78

Preview Lab

Preview with #313E16

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

Preview Lab → · Contrast checker → · Palette generator →

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