#313E28#313E28

#313E28 is a dark, muted yellow-green. Relative luminance 0.043; OKLCH L 34.5% C 0.041 H 133.0°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#313E28
RGBrgb(49, 62, 40)
HSLhsl(95, 22%, 20%)
HSVhsv(95, 35%, 24%)
CMYKcmyk(21%, 0%, 35.5%, 75.7%)
CIE-LABlab(24.49, -10.21, 11.84)
CIE-LCHlch(24.49, 15.64, 130.77°)
OKLaboklab(34.54% -0.0277 0.0297)
OKLCHoklch(34.54% 0.041 133)
XYZxyz(3.3722, 4.2514, 2.6500)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E28 #35283E
analogous
#3C3E28 #313E28 #283E2A
triadic
#313E28 #28313E #3E2831
tetradic
#313E28 #283C3E #35283E #3E2A28
square
#313E28 #283C3E #35283E #3E2A28
split-complementary
#313E28 #2A283E #3E283C
monochromatic
#0F130C #141910 #313E28 #4E6340 #6C8858

Accessibility & contrast

On white

11.35
#313E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313E28
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E28#FFFFFF#000000##FFFFFF
##313E281.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313e28;
/* rgb */ color: rgb(49, 62, 40);
/* oklch */ color: oklch(34.5% 0.041 133.0);
Tailwind
colors: {
  custom: {
    50: '#697362',
    500: '#313e28',
    950: '#000000',
  },
}
SCSS
$custom: #313e28;
$custom-light: #697362;
$custom-dark: #000000;
JSON
{
  "hex": "#313e28",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 40
  },
  "hsl": {
    "h": 95.455,
    "s": 21.569,
    "l": 20
  },
  "oklch": {
    "l": 0.3454,
    "c": 0.04065,
    "h": 133
  },
  "luminance": 0.04251
}

Semantic roles & 50–950 ramp

primary
#313E28
secondary
#645270
accent
#6ABE9C
background
#F6F6F5
surface
#EBECEA
border
#C6C7C6
text
#060805
muted
#7A7B79

Preview Lab

Preview with #313E28

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

Preview Lab → · Contrast checker → · Palette generator →

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