#313C16#313C16

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

Color values

HEX#313C16
RGBrgb(49, 60, 22)
HSLhsl(77, 46%, 16%)
HSVhsv(77, 63%, 24%)
CMYKcmyk(18.3%, 0%, 63.3%, 76.5%)
CIE-LABlab(23.48, -11.68, 21.66)
CIE-LCHlch(23.48, 24.61, 118.34°)
OKLaboklab(33.63% -0.0331 0.0508)
OKLCHoklch(33.63% 0.061 123.1)
XYZxyz(3.0273, 3.9426, 1.3604)
Luminance0.0394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313C16 #21163C
analogous
#3C3416 #313C16 #1E3C16
triadic
#313C16 #16313C #3C1631
tetradic
#313C16 #163C34 #21163C #3C161E
square
#313C16 #163C34 #21163C #3C161E
split-complementary
#313C16 #161E3C #34163C
monochromatic
#121608 #121608 #313C16 #566926 #7A9637

Accessibility & contrast

On white

11.74
#313C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313C16
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313C16#FFFFFF#000000##FFFFFF
##313C161.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403812
Deuteranopia (green-blind)
#3E3818
Tritanopia (blue-blind)
#333934
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #313c16;
/* rgb */ color: rgb(49, 60, 22);
/* oklch */ color: oklch(33.6% 0.061 123.1);
Tailwind
colors: {
  custom: {
    50: '#6a7154',
    500: '#313c16',
    950: '#000000',
  },
}
SCSS
$custom: #313c16;
$custom-light: #6a7154;
$custom-dark: #000000;
JSON
{
  "hex": "#313c16",
  "rgb": {
    "r": 49,
    "g": 60,
    "b": 22
  },
  "hsl": {
    "h": 77.368,
    "s": 46.341,
    "l": 16.078
  },
  "oklch": {
    "l": 0.33632,
    "c": 0.06067,
    "h": 123.1
  },
  "luminance": 0.03943
}

Semantic roles & 50–950 ramp

primary
#313C16
secondary
#4B3B73
accent
#52D678
background
#F6F6F4
surface
#EBECE8
border
#C6C7C4
text
#060703
muted
#7A7A78

Preview Lab

Preview with #313C16

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

Preview Lab → · Contrast checker → · Palette generator →

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