#303909#303909

#303909 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.5% C 0.069 H 119.8°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#303909
RGBrgb(48, 57, 9)
HSLhsl(71, 73%, 13%)
HSVhsv(71, 84%, 22%)
CMYKcmyk(15.8%, 0%, 84.2%, 77.6%)
CIE-LABlab(22.21, -11.55, 26.79)
CIE-LCHlch(22.21, 29.17, 113.33°)
OKLaboklab(32.55% -0.0342 0.0598)
OKLCHoklch(32.55% 0.069 119.8)
XYZxyz(2.7314, 3.5744, 0.8044)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303909 #120939
analogous
#392A09 #303909 #183909
triadic
#303909 #093039 #390930
tetradic
#303909 #09392A #120939 #390918
square
#303909 #09392A #120939 #390918
split-complementary
#303909 #091839 #2A0939
monochromatic
#161A04 #161A04 #303909 #5D6E11 #89A31A

Accessibility & contrast

On white

12.25
#303909 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#303909 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303909
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303909#FFFFFF#000000##FFFFFF
##3039091.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303909;
/* rgb */ color: rgb(48, 57, 9);
/* oklch */ color: oklch(32.5% 0.069 119.8);
Tailwind
colors: {
  custom: {
    50: '#6a6f4c',
    500: '#303909',
    950: '#000000',
  },
}
SCSS
$custom: #303909;
$custom-light: #6a6f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#303909",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 9
  },
  "hsl": {
    "h": 71.25,
    "s": 72.727,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32546,
    "c": 0.06893,
    "h": 119.8
  },
  "luminance": 0.03574
}

Semantic roles & 50–950 ramp

primary
#303909
secondary
#362777
accent
#38EF5B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303909

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

Preview Lab → · Contrast checker → · Palette generator →

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