#313C06#313C06

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

Color values

HEX#313C06
RGBrgb(49, 60, 6)
HSLhsl(72, 82%, 13%)
HSVhsv(72, 90%, 24%)
CMYKcmyk(18.3%, 0%, 90%, 76.5%)
CIE-LABlab(23.33, -13.01, 29.20)
CIE-LCHlch(23.33, 31.97, 114.02°)
OKLaboklab(33.46% -0.0386 0.0643)
OKLCHoklch(33.46% 0.075 121)
XYZxyz(2.9154, 3.8978, 0.7710)
Luminance0.0390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313C06 #11063C
analogous
#3C2C06 #313C06 #163C06
triadic
#313C06 #06313C #3C0631
tetradic
#313C06 #063C2C #11063C #3C0616
square
#313C06 #063C2C #11063C #3C0616
split-complementary
#313C06 #06163C #2C063C
monochromatic
#171C03 #171C03 #313C06 #5E740C #8CAB11

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##313C06#FFFFFF#000000##FFFFFF
##313C061.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)
#3F380B
Tritanopia (blue-blind)
#343832
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #313c06;
/* rgb */ color: rgb(49, 60, 6);
/* oklch */ color: oklch(33.5% 0.075 121.0);
Tailwind
colors: {
  custom: {
    50: '#6b714b',
    500: '#313c06',
    950: '#000000',
  },
}
SCSS
$custom: #313c06;
$custom-light: #6b714b;
$custom-dark: #000000;
JSON
{
  "hex": "#313c06",
  "rgb": {
    "r": 49,
    "g": 60,
    "b": 6
  },
  "hsl": {
    "h": 72.222,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.33463,
    "c": 0.07502,
    "h": 121
  },
  "luminance": 0.03898
}

Semantic roles & 50–950 ramp

primary
#313C06
secondary
#34227C
accent
#30F858
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #313C06

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

Preview Lab → · Contrast checker → · Palette generator →

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