#313F29#313F29

#313F29 is a dark, muted yellow-green. Relative luminance 0.044; OKLCH L 34.8% C 0.041 H 134.5°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#313F29
RGBrgb(49, 63, 41)
HSLhsl(98, 21%, 20%)
HSVhsv(98, 35%, 25%)
CMYKcmyk(22.2%, 0%, 34.9%, 75.3%)
CIE-LABlab(24.85, -10.63, 11.69)
CIE-LCHlch(24.85, 15.80, 132.27°)
OKLaboklab(34.84% -0.0289 0.0294)
OKLCHoklch(34.84% 0.041 134.5)
XYZxyz(3.4443, 4.3680, 2.7590)
Luminance0.0437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313F29 #37293F
analogous
#3C3F29 #313F29 #293F2C
triadic
#313F29 #29313F #3F2931
tetradic
#313F29 #293C3F #37293F #3F2C29
square
#313F29 #293C3F #37293F #3F2C29
split-complementary
#313F29 #2C293F #3F293C
monochromatic
#0E130C #141A11 #313F29 #4E6441 #6B8959

Accessibility & contrast

On white

11.21
#313F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#313F29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313F29
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313F29#FFFFFF#000000##FFFFFF
##313F291.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C28
Deuteranopia (green-blind)
#3F3B2A
Tritanopia (blue-blind)
#313D39
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #313f29;
/* rgb */ color: rgb(49, 63, 41);
/* oklch */ color: oklch(34.8% 0.041 134.5);
Tailwind
colors: {
  custom: {
    50: '#697462',
    500: '#313f29',
    950: '#000000',
  },
}
SCSS
$custom: #313f29;
$custom-light: #697462;
$custom-dark: #000000;
JSON
{
  "hex": "#313f29",
  "rgb": {
    "r": 49,
    "g": 63,
    "b": 41
  },
  "hsl": {
    "h": 98.182,
    "s": 21.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.34842,
    "c": 0.0412,
    "h": 134.5
  },
  "luminance": 0.04368
}

Semantic roles & 50–950 ramp

primary
#313F29
secondary
#665370
accent
#6ABE9F
background
#F6F7F5
surface
#EBEDEA
border
#C6C8C6
text
#060805
muted
#7A7B79

Preview Lab

Preview with #313F29

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

Preview Lab → · Contrast checker → · Palette generator →

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