#313D2A#313D2A

#313D2A is a dark, muted yellow-green. Relative luminance 0.042; OKLCH L 34.3% C 0.036 H 134.3°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#313D2A
RGBrgb(49, 61, 42)
HSLhsl(98, 18%, 20%)
HSVhsv(98, 31%, 24%)
CMYKcmyk(19.7%, 0%, 31.1%, 76.1%)
CIE-LABlab(24.19, -9.23, 10.14)
CIE-LCHlch(24.19, 13.71, 132.30°)
OKLaboklab(34.32% -0.025 0.0257)
OKLCHoklch(34.32% 0.036 134.3)
XYZxyz(3.3532, 4.1576, 2.8159)
Luminance0.0416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D2A #362A3D
analogous
#3A3D2A #313D2A #2A3D2C
triadic
#313D2A #2A313D #3D2A31
tetradic
#313D2A #2A3A3D #362A3D #3D2C2A
square
#313D2A #2A3A3D #362A3D #3D2C2A
split-complementary
#313D2A #2C2A3D #3D2A3A
monochromatic
#0F120C #141911 #313D2A #4E6143 #6B855C

Accessibility & contrast

On white

11.47
#313D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#313D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313D2A
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D2A#FFFFFF#000000##FFFFFF
##313D2A1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A29
Deuteranopia (green-blind)
#3D392B
Tritanopia (blue-blind)
#313B38
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #313d2a;
/* rgb */ color: rgb(49, 61, 42);
/* oklch */ color: oklch(34.3% 0.036 134.3);
Tailwind
colors: {
  custom: {
    50: '#697263',
    500: '#313d2a',
    950: '#000000',
  },
}
SCSS
$custom: #313d2a;
$custom-light: #697263;
$custom-dark: #000000;
JSON
{
  "hex": "#313d2a",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 42
  },
  "hsl": {
    "h": 97.895,
    "s": 18.447,
    "l": 20.196
  },
  "oklch": {
    "l": 0.34315,
    "c": 0.03582,
    "h": 134.3
  },
  "luminance": 0.04158
}

Semantic roles & 50–950 ramp

primary
#313D2A
secondary
#65556E
accent
#6DBB9E
background
#F6F6F5
surface
#EBECEA
border
#C6C7C6
text
#060805
muted
#7A7B79

Preview Lab

Preview with #313D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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