#313B09#313B09

#313B09 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.2% C 0.071 H 120.5°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#313B09
RGBrgb(49, 59, 9)
HSLhsl(72, 74%, 13%)
HSVhsv(72, 85%, 23%)
CMYKcmyk(16.9%, 0%, 84.7%, 76.9%)
CIE-LABlab(23.00, -12.23, 27.64)
CIE-LCHlch(23.00, 30.22, 113.87°)
OKLaboklab(33.2% -0.0361 0.0615)
OKLCHoklch(33.2% 0.071 120.5)
XYZxyz(2.8799, 3.8006, 0.8403)
Luminance0.0380 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313B09 #13093B
analogous
#3B2C09 #313B09 #183B09
triadic
#313B09 #09313B #3B0931
tetradic
#313B09 #093B2C #13093B #3B0918
square
#313B09 #093B2C #13093B #3B0918
split-complementary
#313B09 #09183B #2C093B
monochromatic
#161B04 #161B04 #313B09 #5D7011 #89A519

Accessibility & contrast

On white

11.93
#313B09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #313B09
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313B09#FFFFFF#000000##FFFFFF
##313B091.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3702
Deuteranopia (green-blind)
#3E370D
Tritanopia (blue-blind)
#343731
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #313b09;
/* rgb */ color: rgb(49, 59, 9);
/* oklch */ color: oklch(33.2% 0.071 120.5);
Tailwind
colors: {
  custom: {
    50: '#6b704c',
    500: '#313b09',
    950: '#000000',
  },
}
SCSS
$custom: #313b09;
$custom-light: #6b704c;
$custom-dark: #000000;
JSON
{
  "hex": "#313b09",
  "rgb": {
    "r": 49,
    "g": 59,
    "b": 9
  },
  "hsl": {
    "h": 72,
    "s": 73.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33204,
    "c": 0.07132,
    "h": 120.5
  },
  "luminance": 0.03801
}

Semantic roles & 50–950 ramp

primary
#313B09
secondary
#372779
accent
#38F05D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #313B09

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

Preview Lab → · Contrast checker → · Palette generator →

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