#313C11#313C11

#313C11 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.6% C 0.066 H 122.2°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#313C11
RGBrgb(49, 60, 17)
HSLhsl(75, 56%, 15%)
HSVhsv(75, 72%, 24%)
CMYKcmyk(18.3%, 0%, 71.7%, 76.5%)
CIE-LABlab(23.42, -12.20, 24.34)
CIE-LCHlch(23.42, 27.22, 116.62°)
OKLaboklab(33.57% -0.0352 0.0558)
OKLCHoklch(33.57% 0.066 122.2)
XYZxyz(2.9837, 3.9251, 1.1306)
Luminance0.0393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313C11 #1C113C
analogous
#3C3111 #313C11 #1B3C11
triadic
#313C11 #11313C #3C1131
tetradic
#313C11 #113C31 #1C113C #3C111B
square
#313C11 #113C31 #1C113C #3C111B
split-complementary
#313C11 #111B3C #31113C
monochromatic
#131807 #131807 #313C11 #586C1F #7F9B2C

Accessibility & contrast

On white

11.76
#313C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#313C11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313C11
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313C11#FFFFFF#000000##FFFFFF
##313C111.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380C
Deuteranopia (green-blind)
#3E3814
Tritanopia (blue-blind)
#343933
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #313c11;
/* rgb */ color: rgb(49, 60, 17);
/* oklch */ color: oklch(33.6% 0.066 122.2);
Tailwind
colors: {
  custom: {
    50: '#6a7151',
    500: '#313c11',
    950: '#000000',
  },
}
SCSS
$custom: #313c11;
$custom-light: #6a7151;
$custom-dark: #000000;
JSON
{
  "hex": "#313c11",
  "rgb": {
    "r": 49,
    "g": 60,
    "b": 17
  },
  "hsl": {
    "h": 75.349,
    "s": 55.844,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33566,
    "c": 0.06597,
    "h": 122.2
  },
  "luminance": 0.03925
}

Semantic roles & 50–950 ramp

primary
#313C11
secondary
#443375
accent
#49DF6F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #313C11

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

Preview Lab → · Contrast checker → · Palette generator →

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