#313C05#313C05

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

Color values

HEX#313C05
RGBrgb(49, 60, 5)
HSLhsl(72, 85%, 13%)
HSVhsv(72, 92%, 24%)
CMYKcmyk(18.3%, 0%, 91.7%, 76.5%)
CIE-LABlab(23.32, -13.08, 29.60)
CIE-LCHlch(23.32, 32.36, 113.84°)
OKLaboklab(33.46% -0.0389 0.065)
OKLCHoklch(33.46% 0.076 120.9)
XYZxyz(2.9099, 3.8956, 0.7422)
Luminance0.0390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313C05 #10053C
analogous
#3C2B05 #313C05 #153C05
triadic
#313C05 #05313C #3C0531
tetradic
#313C05 #053C2B #10053C #3C0515
square
#313C05 #053C2B #10053C #3C0515
split-complementary
#313C05 #05153C #2B053C
monochromatic
#171C02 #171C02 #313C05 #5F740A #8DAD0E

Accessibility & contrast

On white

11.80
#313C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313C05
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313C05#FFFFFF#000000##FFFFFF
##313C051.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #313c05;
/* rgb */ color: rgb(49, 60, 5);
/* oklch */ color: oklch(33.5% 0.076 120.9);
Tailwind
colors: {
  custom: {
    50: '#6b714b',
    500: '#313c05',
    950: '#000000',
  },
}
SCSS
$custom: #313c05;
$custom-light: #6b714b;
$custom-dark: #000000;
JSON
{
  "hex": "#313c05",
  "rgb": {
    "r": 49,
    "g": 60,
    "b": 5
  },
  "hsl": {
    "h": 72,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.33455,
    "c": 0.07579,
    "h": 120.9
  },
  "luminance": 0.03896
}

Semantic roles & 50–950 ramp

primary
#313C05
secondary
#33207D
accent
#2DFB56
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #313C05

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

Preview Lab → · Contrast checker → · Palette generator →

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