#313E2A#313E2A

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

Color values

HEX#313E2A
RGBrgb(49, 62, 42)
HSLhsl(99, 19%, 20%)
HSVhsv(99, 32%, 24%)
CMYKcmyk(21%, 0%, 32.3%, 75.7%)
CIE-LABlab(24.53, -9.84, 10.61)
CIE-LCHlch(24.53, 14.47, 132.83°)
OKLaboklab(34.59% -0.0267 0.0268)
OKLCHoklch(34.59% 0.038 134.9)
XYZxyz(3.4071, 4.2653, 2.8338)
Luminance0.0427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E2A #372A3E
analogous
#3B3E2A #313E2A #2A3E2D
triadic
#313E2A #2A313E #3E2A31
tetradic
#313E2A #2A3B3E #372A3E #3E2D2A
square
#313E2A #2A3B3E #372A3E #3E2D2A
split-complementary
#313E2A #2D2A3E #3E2A3B
monochromatic
#0E120C #141A11 #313E2A #4E6243 #6B875B

Accessibility & contrast

On white

11.33
#313E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313E2A
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E2A#FFFFFF#000000##FFFFFF
##313E2A1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B29
Deuteranopia (green-blind)
#3E3A2B
Tritanopia (blue-blind)
#313C39
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #313e2a;
/* rgb */ color: rgb(49, 62, 42);
/* oklch */ color: oklch(34.6% 0.038 134.9);
Tailwind
colors: {
  custom: {
    50: '#697363',
    500: '#313e2a',
    950: '#000000',
  },
}
SCSS
$custom: #313e2a;
$custom-light: #697363;
$custom-dark: #000000;
JSON
{
  "hex": "#313e2a",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 42
  },
  "hsl": {
    "h": 99,
    "s": 19.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3459,
    "c": 0.03782,
    "h": 134.9
  },
  "luminance": 0.04265
}

Semantic roles & 50–950 ramp

primary
#313E2A
secondary
#66556F
accent
#6CBCA0
background
#F6F6F5
surface
#EBECEA
border
#C6C7C6
text
#060805
muted
#7A7B79

Preview Lab

Preview with #313E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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