#313909#313909

#313909 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.6% C 0.068 H 118.7°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#313909
RGBrgb(49, 57, 9)
HSLhsl(70, 73%, 13%)
HSVhsv(70, 84%, 22%)
CMYKcmyk(14%, 0%, 84.2%, 77.6%)
CIE-LABlab(22.30, -11.04, 26.91)
CIE-LCHlch(22.30, 29.09, 112.32°)
OKLaboklab(32.64% -0.0329 0.0601)
OKLCHoklch(32.64% 0.068 118.7)
XYZxyz(2.7791, 3.5990, 0.8067)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313909 #110939
analogous
#392909 #313909 #193909
triadic
#313909 #093139 #390931
tetradic
#313909 #093929 #110939 #390919
square
#313909 #093929 #110939 #390919
split-complementary
#313909 #091939 #290939
monochromatic
#171A04 #171A04 #313909 #5E6E11 #8CA31A

Accessibility & contrast

On white

12.21
#313909 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#313909 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313909
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313909#FFFFFF#000000##FFFFFF
##3139091.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3503
Deuteranopia (green-blind)
#3C360D
Tritanopia (blue-blind)
#343530
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #313909;
/* rgb */ color: rgb(49, 57, 9);
/* oklch */ color: oklch(32.6% 0.068 118.7);
Tailwind
colors: {
  custom: {
    50: '#6b6f4c',
    500: '#313909',
    950: '#000000',
  },
}
SCSS
$custom: #313909;
$custom-light: #6b6f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#313909",
  "rgb": {
    "r": 49,
    "g": 57,
    "b": 9
  },
  "hsl": {
    "h": 70,
    "s": 72.727,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32638,
    "c": 0.06846,
    "h": 118.7
  },
  "luminance": 0.03599
}

Semantic roles & 50–950 ramp

primary
#313909
secondary
#342777
accent
#38EF57
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #313909

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

Preview Lab → · Contrast checker → · Palette generator →

#313909 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva