#313E19#313E19

#313E19 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.2% C 0.061 H 125.5°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#313E19
RGBrgb(49, 62, 25)
HSLhsl(81, 43%, 17%)
HSVhsv(81, 60%, 24%)
CMYKcmyk(21%, 0%, 59.7%, 75.7%)
CIE-LABlab(24.22, -12.51, 20.80)
CIE-LCHlch(24.22, 24.27, 121.03°)
OKLaboklab(34.24% -0.0351 0.0493)
OKLCHoklch(34.24% 0.061 125.5)
XYZxyz(3.1647, 4.1684, 1.5574)
Luminance0.0417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E19 #26193E
analogous
#3E3919 #313E19 #1F3E19
triadic
#313E19 #19313E #3E1931
tetradic
#313E19 #193E39 #26193E #3E191F
square
#313E19 #193E39 #26193E #3E191F
split-complementary
#313E19 #191F3E #39193E
monochromatic
#111609 #111609 #313E19 #536A2B #76953C

Accessibility & contrast

On white

11.45
#313E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#313E19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313E19
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E19#FFFFFF#000000##FFFFFF
##313E191.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A16
Deuteranopia (green-blind)
#40391B
Tritanopia (blue-blind)
#333B36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #313e19;
/* rgb */ color: rgb(49, 62, 25);
/* oklch */ color: oklch(34.2% 0.061 125.5);
Tailwind
colors: {
  custom: {
    50: '#6a7357',
    500: '#313e19',
    950: '#000000',
  },
}
SCSS
$custom: #313e19;
$custom-light: #6a7357;
$custom-dark: #000000;
JSON
{
  "hex": "#313e19",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 25
  },
  "hsl": {
    "h": 81.081,
    "s": 42.529,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34241,
    "c": 0.06052,
    "h": 125.5
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#313E19
secondary
#513F74
accent
#55D281
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #313E19

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

Preview Lab → · Contrast checker → · Palette generator →

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