#313D23#313D23

#313D23 is a dark, muted yellow-green. Relative luminance 0.041; OKLCH L 34.1% C 0.046 H 128.7°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#313D23
RGBrgb(49, 61, 35)
HSLhsl(88, 27%, 19%)
HSVhsv(88, 43%, 24%)
CMYKcmyk(19.7%, 0%, 42.6%, 76.1%)
CIE-LABlab(24.04, -10.48, 14.45)
CIE-LCHlch(24.04, 17.85, 125.94°)
OKLaboklab(34.15% -0.0286 0.0357)
OKLCHoklch(34.15% 0.046 128.7)
XYZxyz(3.2387, 4.1118, 2.2128)
Luminance0.0411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313D23 #2F233D
analogous
#3D3C23 #313D23 #243D23
triadic
#313D23 #23313D #3D2331
tetradic
#313D23 #233D3C #2F233D #3D2324
square
#313D23 #233D3C #2F233D #3D2324
split-complementary
#313D23 #23243D #3C233D
monochromatic
#10130B #12160D #313D23 #506439 #6F8B50

Accessibility & contrast

On white

11.52
#313D23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#313D23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313D23
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313D23#FFFFFF#000000##FFFFFF
##313D231.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A21
Deuteranopia (green-blind)
#3E3924
Tritanopia (blue-blind)
#323B36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #313d23;
/* rgb */ color: rgb(49, 61, 35);
/* oklch */ color: oklch(34.1% 0.046 128.7);
Tailwind
colors: {
  custom: {
    50: '#69725e',
    500: '#313d23',
    950: '#000000',
  },
}
SCSS
$custom: #313d23;
$custom-light: #69725e;
$custom-dark: #000000;
JSON
{
  "hex": "#313d23",
  "rgb": {
    "r": 49,
    "g": 61,
    "b": 35
  },
  "hsl": {
    "h": 87.692,
    "s": 27.083,
    "l": 18.824
  },
  "oklch": {
    "l": 0.34147,
    "c": 0.04577,
    "h": 128.7
  },
  "luminance": 0.04112
}

Semantic roles & 50–950 ramp

primary
#313D23
secondary
#5D4C70
accent
#64C390
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#060804
muted
#7A7B79

Preview Lab

Preview with #313D23

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

Preview Lab → · Contrast checker → · Palette generator →

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