#313C2B#313C2B

#313C2B is a dark, muted yellow-green. Relative luminance 0.041; OKLCH L 34.1% C 0.032 H 134.7°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#313C2B
RGBrgb(49, 60, 43)
HSLhsl(99, 17%, 20%)
HSVhsv(99, 28%, 24%)
CMYKcmyk(18.3%, 0%, 28.3%, 76.5%)
CIE-LABlab(23.87, -8.42, 9.05)
CIE-LCHlch(23.87, 12.36, 132.93°)
OKLaboklab(34.07% -0.0228 0.023)
OKLCHoklch(34.07% 0.032 134.7)
XYZxyz(3.3184, 4.0591, 2.8937)
Luminance0.0406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313C2B #362B3C
analogous
#393C2B #313C2B #2B3C2D
triadic
#313C2B #2B313C #3C2B31
tetradic
#313C2B #2B393C #362B3C #3C2D2B
square
#313C2B #2B393C #362B3C #3C2D2B
split-complementary
#313C2B #2D2B3C #3C2B39
monochromatic
#0F120D #141811 #313C2B #4E6045 #6B835E

Accessibility & contrast

On white

11.59
#313C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313C2B
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313C2B#FFFFFF#000000##FFFFFF
##313C2B1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D392A
Deuteranopia (green-blind)
#3C382C
Tritanopia (blue-blind)
#313B37
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #313c2b;
/* rgb */ color: rgb(49, 60, 43);
/* oklch */ color: oklch(34.1% 0.032 134.7);
Tailwind
colors: {
  custom: {
    50: '#697164',
    500: '#313c2b',
    950: '#000000',
  },
}
SCSS
$custom: #313c2b;
$custom-light: #697164;
$custom-dark: #000000;
JSON
{
  "hex": "#313c2b",
  "rgb": {
    "r": 49,
    "g": 60,
    "b": 43
  },
  "hsl": {
    "h": 98.824,
    "s": 16.505,
    "l": 20.196
  },
  "oklch": {
    "l": 0.34066,
    "c": 0.03237,
    "h": 134.7
  },
  "luminance": 0.04059
}

Semantic roles & 50–950 ramp

primary
#313C2B
secondary
#65566D
accent
#6FB99F
background
#F6F6F5
surface
#EBECEA
border
#C6C7C6
text
#060705
muted
#7A7A79

Preview Lab

Preview with #313C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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