#313C09#313C09

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

Color values

HEX#313C09
RGBrgb(49, 60, 9)
HSLhsl(73, 74%, 14%)
HSVhsv(73, 85%, 24%)
CMYKcmyk(18.3%, 0%, 85%, 76.5%)
CIE-LABlab(23.35, -12.82, 28.00)
CIE-LCHlch(23.35, 30.79, 114.60°)
OKLaboklab(33.49% -0.0378 0.0622)
OKLCHoklch(33.49% 0.073 121.3)
XYZxyz(2.9318, 3.9044, 0.8576)
Luminance0.0390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313C09 #14093C
analogous
#3C2D09 #313C09 #173C09
triadic
#313C09 #09313C #3C0931
tetradic
#313C09 #093C2D #14093C #3C0917
square
#313C09 #093C2D #14093C #3C0917
split-complementary
#313C09 #09173C #2D093C
monochromatic
#161B04 #161B04 #313C09 #5C7111 #88A619

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##313C09#FFFFFF#000000##FFFFFF
##313C091.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)
#403802
Deuteranopia (green-blind)
#3F380E
Tritanopia (blue-blind)
#343832
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #313c09;
/* rgb */ color: rgb(49, 60, 9);
/* oklch */ color: oklch(33.5% 0.073 121.3);
Tailwind
colors: {
  custom: {
    50: '#6b714d',
    500: '#313c09',
    950: '#000000',
  },
}
SCSS
$custom: #313c09;
$custom-light: #6b714d;
$custom-dark: #000000;
JSON
{
  "hex": "#313c09",
  "rgb": {
    "r": 49,
    "g": 60,
    "b": 9
  },
  "hsl": {
    "h": 72.941,
    "s": 73.913,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33488,
    "c": 0.07276,
    "h": 121.3
  },
  "luminance": 0.03904
}

Semantic roles & 50–950 ramp

primary
#313C09
secondary
#39277A
accent
#37F15F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #313C09

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

Preview Lab → · Contrast checker → · Palette generator →

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