#313B11#313B11

#313B11 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.3% C 0.064 H 121.4°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#313B11
RGBrgb(49, 59, 17)
HSLhsl(74, 55%, 15%)
HSVhsv(74, 71%, 23%)
CMYKcmyk(16.9%, 0%, 71.2%, 76.9%)
CIE-LABlab(23.07, -11.61, 23.96)
CIE-LCHlch(23.07, 26.62, 115.85°)
OKLaboklab(33.28% -0.0335 0.055)
OKLCHoklch(33.28% 0.064 121.4)
XYZxyz(2.9318, 3.8214, 1.1134)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313B11 #1B113B
analogous
#3B3011 #313B11 #1C3B11
triadic
#313B11 #11313B #3B1131
tetradic
#313B11 #113B30 #1B113B #3B111C
square
#313B11 #113B30 #1B113B #3B111C
split-complementary
#313B11 #111C3B #30113B
monochromatic
#141807 #141807 #313B11 #586B1F #809A2C

Accessibility & contrast

On white

11.90
#313B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#313B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313B11
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313B11#FFFFFF#000000##FFFFFF
##313B111.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F370C
Deuteranopia (green-blind)
#3E3714
Tritanopia (blue-blind)
#343832
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #313b11;
/* rgb */ color: rgb(49, 59, 17);
/* oklch */ color: oklch(33.3% 0.064 121.4);
Tailwind
colors: {
  custom: {
    50: '#6a7051',
    500: '#313b11',
    950: '#000000',
  },
}
SCSS
$custom: #313b11;
$custom-light: #6a7051;
$custom-dark: #000000;
JSON
{
  "hex": "#313b11",
  "rgb": {
    "r": 49,
    "g": 59,
    "b": 17
  },
  "hsl": {
    "h": 74.286,
    "s": 55.263,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33284,
    "c": 0.06443,
    "h": 121.4
  },
  "luminance": 0.03821
}

Semantic roles & 50–950 ramp

primary
#313B11
secondary
#433374
accent
#49DF6D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #313B11

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

Preview Lab → · Contrast checker → · Palette generator →

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