#313B2A#313B2A

#313B2A is a dark, muted yellow-green. Relative luminance 0.039; OKLCH L 33.8% C 0.032 H 132.7°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#313B2A
RGBrgb(49, 59, 42)
HSLhsl(95, 17%, 20%)
HSVhsv(95, 29%, 23%)
CMYKcmyk(16.9%, 0%, 28.8%, 76.9%)
CIE-LABlab(23.50, -7.99, 9.20)
CIE-LCHlch(23.50, 12.19, 130.97°)
OKLaboklab(33.77% -0.0216 0.0234)
OKLCHoklch(33.77% 0.032 132.7)
XYZxyz(3.2484, 3.9480, 2.7809)
Luminance0.0395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313B2A #342A3B
analogous
#3A3B2A #313B2A #2A3B2C
triadic
#313B2A #2A313B #3B2A31
tetradic
#313B2A #2A3A3B #342A3B #3B2C2A
square
#313B2A #2A3A3B #342A3B #3B2C2A
split-complementary
#313B2A #2C2A3B #3B2A3A
monochromatic
#0F120D #131711 #313B2A #4F5F43 #6C835D

Accessibility & contrast

On white

11.73
#313B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313B2A
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313B2A#FFFFFF#000000##FFFFFF
##313B2A1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3829
Deuteranopia (green-blind)
#3B382B
Tritanopia (blue-blind)
#313A36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #313b2a;
/* rgb */ color: rgb(49, 59, 42);
/* oklch */ color: oklch(33.8% 0.032 132.7);
Tailwind
colors: {
  custom: {
    50: '#697163',
    500: '#313b2a',
    950: '#000000',
  },
}
SCSS
$custom: #313b2a;
$custom-light: #697163;
$custom-dark: #000000;
JSON
{
  "hex": "#313b2a",
  "rgb": {
    "r": 49,
    "g": 59,
    "b": 42
  },
  "hsl": {
    "h": 95.294,
    "s": 16.832,
    "l": 19.804
  },
  "oklch": {
    "l": 0.33765,
    "c": 0.03181,
    "h": 132.7
  },
  "luminance": 0.03948
}

Semantic roles & 50–950 ramp

primary
#313B2A
secondary
#62556C
accent
#6EBA9B
background
#F6F6F5
surface
#EBECEA
border
#C6C7C6
text
#060705
muted
#7A7A79

Preview Lab

Preview with #313B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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