#313C0A#313C0A

#313C0A is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.5% C 0.072 H 121.4°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#313C0A
RGBrgb(49, 60, 10)
HSLhsl(73, 71%, 14%)
HSVhsv(73, 83%, 24%)
CMYKcmyk(18.3%, 0%, 83.3%, 76.5%)
CIE-LABlab(23.36, -12.75, 27.60)
CIE-LCHlch(23.36, 30.40, 114.80°)
OKLaboklab(33.5% -0.0375 0.0615)
OKLCHoklch(33.5% 0.072 121.4)
XYZxyz(2.9373, 3.9066, 0.8864)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313C0A #150A3C
analogous
#3C2E0A #313C0A #183C0A
triadic
#313C0A #0A313C #3C0A31
tetradic
#313C0A #0A3C2E #150A3C #3C0A18
square
#313C0A #0A3C2E #150A3C #3C0A18
split-complementary
#313C0A #0A183C #2E0A3C
monochromatic
#151A04 #151A04 #313C0A #5C7013 #87A51B

Accessibility & contrast

On white

11.79
#313C0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#313C0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313C0A
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313C0A#FFFFFF#000000##FFFFFF
##313C0A1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403803
Deuteranopia (green-blind)
#3F380E
Tritanopia (blue-blind)
#343832
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #313c0a;
/* rgb */ color: rgb(49, 60, 10);
/* oklch */ color: oklch(33.5% 0.072 121.4);
Tailwind
colors: {
  custom: {
    50: '#6b714d',
    500: '#313c0a',
    950: '#000000',
  },
}
SCSS
$custom: #313c0a;
$custom-light: #6b714d;
$custom-dark: #000000;
JSON
{
  "hex": "#313c0a",
  "rgb": {
    "r": 49,
    "g": 60,
    "b": 10
  },
  "hsl": {
    "h": 73.2,
    "s": 71.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33496,
    "c": 0.07201,
    "h": 121.4
  },
  "luminance": 0.03907
}

Semantic roles & 50–950 ramp

primary
#313C0A
secondary
#3A2879
accent
#3AEE61
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #313C0A

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

Preview Lab → · Contrast checker → · Palette generator →

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