#313E29#313E29

#313E29 is a dark, muted yellow-green. Relative luminance 0.043; OKLCH L 34.6% C 0.039 H 133.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#313E29
RGBrgb(49, 62, 41)
HSLhsl(97, 20%, 20%)
HSVhsv(97, 34%, 24%)
CMYKcmyk(21%, 0%, 33.9%, 75.7%)
CIE-LABlab(24.51, -10.03, 11.23)
CIE-LCHlch(24.51, 15.05, 131.77°)
OKLaboklab(34.57% -0.0272 0.0283)
OKLCHoklch(34.57% 0.039 133.9)
XYZxyz(3.3894, 4.2583, 2.7407)
Luminance0.0426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E29 #36293E
analogous
#3B3E29 #313E29 #293E2C
triadic
#313E29 #29313E #3E2931
tetradic
#313E29 #293B3E #36293E #3E2C29
square
#313E29 #293B3E #36293E #3E2C29
split-complementary
#313E29 #2C293E #3E293B
monochromatic
#0F120C #141911 #313E29 #4E6341 #6B885A

Accessibility & contrast

On white

11.34
#313E29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#313E29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313E29
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E29#FFFFFF#000000##FFFFFF
##313E291.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B28
Deuteranopia (green-blind)
#3E3A2A
Tritanopia (blue-blind)
#313C38
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #313e29;
/* rgb */ color: rgb(49, 62, 41);
/* oklch */ color: oklch(34.6% 0.039 133.9);
Tailwind
colors: {
  custom: {
    50: '#697362',
    500: '#313e29',
    950: '#000000',
  },
}
SCSS
$custom: #313e29;
$custom-light: #697362;
$custom-dark: #000000;
JSON
{
  "hex": "#313e29",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 41
  },
  "hsl": {
    "h": 97.143,
    "s": 20.388,
    "l": 20.196
  },
  "oklch": {
    "l": 0.34565,
    "c": 0.03924,
    "h": 133.9
  },
  "luminance": 0.04258
}

Semantic roles & 50–950 ramp

primary
#313E29
secondary
#65536F
accent
#6BBD9E
background
#F6F6F5
surface
#EBECEA
border
#C6C7C6
text
#060805
muted
#7A7B79

Preview Lab

Preview with #313E29

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

Preview Lab → · Contrast checker → · Palette generator →

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