#313E0E#313E0E

#313E0E is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.1% C 0.072 H 123.3°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#313E0E
RGBrgb(49, 62, 14)
HSLhsl(76, 63%, 15%)
HSVhsv(76, 77%, 24%)
CMYKcmyk(21%, 0%, 77.4%, 75.7%)
CIE-LABlab(24.10, -13.62, 26.55)
CIE-LCHlch(24.10, 29.84, 117.16°)
OKLaboklab(34.1% -0.0394 0.06)
OKLCHoklch(34.1% 0.072 123.3)
XYZxyz(3.0685, 4.1299, 1.0509)
Luminance0.0413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313E0E #1B0E3E
analogous
#3E330E #313E0E #193E0E
triadic
#313E0E #0E313E #3E0E31
tetradic
#313E0E #0E3E33 #1B0E3E #3E0E19
square
#313E0E #0E3E33 #1B0E3E #3E0E19
split-complementary
#313E0E #0E193E #330E3E
monochromatic
#141906 #141906 #313E0E #587019 #80A225

Accessibility & contrast

On white

11.50
#313E0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313E0E
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313E0E#FFFFFF#000000##FFFFFF
##313E0E1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A07
Deuteranopia (green-blind)
#403912
Tritanopia (blue-blind)
#343B34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #313e0e;
/* rgb */ color: rgb(49, 62, 14);
/* oklch */ color: oklch(34.1% 0.072 123.3);
Tailwind
colors: {
  custom: {
    50: '#6b7350',
    500: '#313e0e',
    950: '#000000',
  },
}
SCSS
$custom: #313e0e;
$custom-light: #6b7350;
$custom-dark: #000000;
JSON
{
  "hex": "#313e0e",
  "rgb": {
    "r": 49,
    "g": 62,
    "b": 14
  },
  "hsl": {
    "h": 76.25,
    "s": 63.158,
    "l": 14.902
  },
  "oklch": {
    "l": 0.34101,
    "c": 0.07179,
    "h": 123.3
  },
  "luminance": 0.0413
}

Semantic roles & 50–950 ramp

primary
#313E0E
secondary
#432F79
accent
#42E66E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #313E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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