#313B0E#313B0E

#313B0E is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.3% C 0.067 H 121.0°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#313B0E
RGBrgb(49, 59, 14)
HSLhsl(73, 62%, 14%)
HSVhsv(73, 76%, 23%)
CMYKcmyk(16.9%, 0%, 76.3%, 76.9%)
CIE-LABlab(23.04, -11.87, 25.46)
CIE-LCHlch(23.04, 28.09, 114.99°)
OKLaboklab(33.25% -0.0346 0.0577)
OKLCHoklch(33.25% 0.067 121)
XYZxyz(2.9099, 3.8126, 0.9980)
Luminance0.0381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313B0E #180E3B
analogous
#3B2F0E #313B0E #1B3B0E
triadic
#313B0E #0E313B #3B0E31
tetradic
#313B0E #0E3B2F #180E3B #3B0E1B
square
#313B0E #0E3B2F #180E3B #3B0E1B
split-complementary
#313B0E #0E1B3B #2F0E3B
monochromatic
#151906 #151906 #313B0E #5A6C1A #839E25

Accessibility & contrast

On white

11.91
#313B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#313B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313B0E
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313B0E#FFFFFF#000000##FFFFFF
##313B0E1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3708
Deuteranopia (green-blind)
#3E3711
Tritanopia (blue-blind)
#343832
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #313b0e;
/* rgb */ color: rgb(49, 59, 14);
/* oklch */ color: oklch(33.3% 0.067 121.0);
Tailwind
colors: {
  custom: {
    50: '#6b704f',
    500: '#313b0e',
    950: '#000000',
  },
}
SCSS
$custom: #313b0e;
$custom-light: #6b704f;
$custom-dark: #000000;
JSON
{
  "hex": "#313b0e",
  "rgb": {
    "r": 49,
    "g": 59,
    "b": 14
  },
  "hsl": {
    "h": 73.333,
    "s": 61.644,
    "l": 14.314
  },
  "oklch": {
    "l": 0.3325,
    "c": 0.06727,
    "h": 121
  },
  "luminance": 0.03813
}

Semantic roles & 50–950 ramp

primary
#313B0E
secondary
#3F2F76
accent
#43E567
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #313B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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