#313A2A#313A2A

#313A2A is a dark, muted yellow-green. Relative luminance 0.038; OKLCH L 33.5% C 0.030 H 131.8°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#313A2A
RGBrgb(49, 58, 42)
HSLhsl(94, 16%, 20%)
HSVhsv(94, 28%, 23%)
CMYKcmyk(15.5%, 0%, 27.6%, 77.3%)
CIE-LABlab(23.16, -7.37, 8.73)
CIE-LCHlch(23.16, 11.43, 130.16°)
OKLaboklab(33.49% -0.0198 0.0222)
OKLCHoklch(33.49% 0.03 131.8)
XYZxyz(3.1975, 3.8462, 2.7640)
Luminance0.0385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313A2A #332A3A
analogous
#393A2A #313A2A #2A3A2B
triadic
#313A2A #2A313A #3A2A31
tetradic
#313A2A #2A393A #332A3A #3A2B2A
square
#313A2A #2A393A #332A3A #3A2B2A
split-complementary
#313A2A #2B2A3A #3A2A39
monochromatic
#0F120D #131710 #313A2A #4F5D44 #6D815D

Accessibility & contrast

On white

11.87
#313A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#313A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313A2A
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313A2A#FFFFFF#000000##FFFFFF
##313A2A1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3829
Deuteranopia (green-blind)
#3A372B
Tritanopia (blue-blind)
#313936
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #313a2a;
/* rgb */ color: rgb(49, 58, 42);
/* oklch */ color: oklch(33.5% 0.030 131.8);
Tailwind
colors: {
  custom: {
    50: '#697063',
    500: '#313a2a',
    950: '#000000',
  },
}
SCSS
$custom: #313a2a;
$custom-light: #697063;
$custom-dark: #000000;
JSON
{
  "hex": "#313a2a",
  "rgb": {
    "r": 49,
    "g": 58,
    "b": 42
  },
  "hsl": {
    "h": 93.75,
    "s": 16,
    "l": 19.608
  },
  "oklch": {
    "l": 0.33492,
    "c": 0.02979,
    "h": 131.8
  },
  "luminance": 0.03846
}

Semantic roles & 50–950 ramp

primary
#313A2A
secondary
#61556B
accent
#6FB999
background
#F6F6F5
surface
#EBECEA
border
#C6C7C6
text
#060705
muted
#7A7A79

Preview Lab

Preview with #313A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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