#313D11#313D11

#313D11 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.8% C 0.068 H 123.0°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#313D11
RGBrgb(49, 61, 17)
HSLhsl(76, 56%, 15%)
HSVhsv(76, 72%, 24%)
CMYKcmyk(19.7%, 0%, 72.1%, 76.1%)
CIE-LABlab(23.77, -12.78, 24.72)
CIE-LCHlch(23.77, 27.82, 117.35°)
OKLaboklab(33.85% -0.0368 0.0566)
OKLCHoklch(33.85% 0.068 123)
XYZxyz(3.0366, 4.0309, 1.1483)
Luminance0.0403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D11 #1D113D
analogous
#3D3311 #313D11 #1B3D11
triadic
#313D11 #11313D #3D1131
tetradic
#313D11 #113D33 #1D113D #3D111B
square
#313D11 #113D33 #1D113D #3D111B
split-complementary
#313D11 #111B3D #33113D
monochromatic
#131807 #131807 #313D11 #576D1E #7E9D2C

Accessibility & contrast

On white

11.63
#313D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#313D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313D11
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D11#FFFFFF#000000##FFFFFF
##313D111.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390C
Deuteranopia (green-blind)
#3F3914
Tritanopia (blue-blind)
#343A34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #313d11;
/* rgb */ color: rgb(49, 61, 17);
/* oklch */ color: oklch(33.8% 0.068 123.0);
Tailwind
colors: {
  custom: {
    50: '#6b7251',
    500: '#313d11',
    950: '#000000',
  },
}
SCSS
$custom: #313d11;
$custom-light: #6b7251;
$custom-dark: #000000;
JSON
{
  "hex": "#313d11",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 17
  },
  "hsl": {
    "h": 76.364,
    "s": 56.41,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33849,
    "c": 0.06753,
    "h": 123
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#313D11
secondary
#463376
accent
#48E071
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #313D11

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

Preview Lab → · Contrast checker → · Palette generator →

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