#313C19#313C19

#313C19 is a dark, muted yellow-green. Relative luminance 0.040; OKLCH L 33.7% C 0.057 H 123.9°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#313C19
RGBrgb(49, 60, 25)
HSLhsl(79, 41%, 17%)
HSVhsv(79, 58%, 24%)
CMYKcmyk(18.3%, 0%, 58.3%, 76.5%)
CIE-LABlab(23.52, -11.33, 19.97)
CIE-LCHlch(23.52, 22.95, 119.57°)
OKLaboklab(33.68% -0.0318 0.0475)
OKLCHoklch(33.68% 0.057 123.9)
XYZxyz(3.0580, 3.9549, 1.5218)
Luminance0.0396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313C19 #24193C
analogous
#3C3619 #313C19 #203C19
triadic
#313C19 #19313C #3C1931
tetradic
#313C19 #193C36 #24193C #3C1920
square
#313C19 #193C36 #24193C #3C1920
split-complementary
#313C19 #19203C #36193C
monochromatic
#121609 #121609 #313C19 #54672B #78923D

Accessibility & contrast

On white

11.73
#313C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#313C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313C19
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313C19#FFFFFF#000000##FFFFFF
##313C191.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3816
Deuteranopia (green-blind)
#3E381B
Tritanopia (blue-blind)
#333934
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #313c19;
/* rgb */ color: rgb(49, 60, 25);
/* oklch */ color: oklch(33.7% 0.057 123.9);
Tailwind
colors: {
  custom: {
    50: '#6a7156',
    500: '#313c19',
    950: '#000000',
  },
}
SCSS
$custom: #313c19;
$custom-light: #6a7156;
$custom-dark: #000000;
JSON
{
  "hex": "#313c19",
  "rgb": {
    "r": 49,
    "g": 60,
    "b": 25
  },
  "hsl": {
    "h": 78.857,
    "s": 41.176,
    "l": 16.667
  },
  "oklch": {
    "l": 0.33678,
    "c": 0.05714,
    "h": 123.9
  },
  "luminance": 0.03955
}

Semantic roles & 50–950 ramp

primary
#313C19
secondary
#4F3F72
accent
#57D17D
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#060703
muted
#7A7A78

Preview Lab

Preview with #313C19

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

Preview Lab → · Contrast checker → · Palette generator →

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