#313E11#313E11

#313E11 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.1% C 0.069 H 123.8°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#313E11
RGBrgb(49, 62, 17)
HSLhsl(77, 57%, 15%)
HSVhsv(77, 73%, 24%)
CMYKcmyk(21%, 0%, 72.6%, 75.7%)
CIE-LABlab(24.12, -13.37, 25.09)
CIE-LCHlch(24.12, 28.43, 118.04°)
OKLaboklab(34.13% -0.0384 0.0574)
OKLCHoklch(34.13% 0.069 123.8)
XYZxyz(3.0904, 4.1387, 1.1662)
Luminance0.0414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E11 #1E113E
analogous
#3E3411 #313E11 #1A3E11
triadic
#313E11 #11313E #3E1131
tetradic
#313E11 #113E34 #1E113E #3E111A
square
#313E11 #113E34 #1E113E #3E111A
split-complementary
#313E11 #111A3E #34113E
monochromatic
#131807 #131807 #313E11 #576E1E #7D9E2B

Accessibility & contrast

On white

11.49
#313E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313E11
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E11#FFFFFF#000000##FFFFFF
##313E111.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0B
Deuteranopia (green-blind)
#403914
Tritanopia (blue-blind)
#343B35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #313e11;
/* rgb */ color: rgb(49, 62, 17);
/* oklch */ color: oklch(34.1% 0.069 123.8);
Tailwind
colors: {
  custom: {
    50: '#6b7351',
    500: '#313e11',
    950: '#000000',
  },
}
SCSS
$custom: #313e11;
$custom-light: #6b7351;
$custom-dark: #000000;
JSON
{
  "hex": "#313e11",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 17
  },
  "hsl": {
    "h": 77.333,
    "s": 56.962,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34133,
    "c": 0.06908,
    "h": 123.8
  },
  "luminance": 0.04139
}

Semantic roles & 50–950 ramp

primary
#313E11
secondary
#473377
accent
#48E074
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #313E11

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

Preview Lab → · Contrast checker → · Palette generator →

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