#303A09#303A09

#303A09 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.8% C 0.070 H 120.6°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#303A09
RGBrgb(48, 58, 9)
HSLhsl(72, 73%, 13%)
HSVhsv(72, 84%, 23%)
CMYKcmyk(17.2%, 0%, 84.5%, 77.3%)
CIE-LABlab(22.56, -12.15, 27.16)
CIE-LCHlch(22.56, 29.75, 114.09°)
OKLaboklab(32.83% -0.0358 0.0606)
OKLCHoklch(32.83% 0.07 120.6)
XYZxyz(2.7813, 3.6742, 0.8211)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A09 #13093A
analogous
#3A2B09 #303A09 #173A09
triadic
#303A09 #09303A #3A0930
tetradic
#303A09 #093A2B #13093A #3A0917
square
#303A09 #093A2B #13093A #3A0917
split-complementary
#303A09 #09173A #2B093A
monochromatic
#161A04 #161A04 #303A09 #5C6F11 #88A419

Accessibility & contrast

On white

12.11
#303A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#303A09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303A09
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303A09#FFFFFF#000000##FFFFFF
##303A091.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3602
Deuteranopia (green-blind)
#3D360D
Tritanopia (blue-blind)
#333631
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #303a09;
/* rgb */ color: rgb(48, 58, 9);
/* oklch */ color: oklch(32.8% 0.070 120.6);
Tailwind
colors: {
  custom: {
    50: '#6a704c',
    500: '#303a09',
    950: '#000000',
  },
}
SCSS
$custom: #303a09;
$custom-light: #6a704c;
$custom-dark: #000000;
JSON
{
  "hex": "#303a09",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 9
  },
  "hsl": {
    "h": 72.245,
    "s": 73.134,
    "l": 13.137
  },
  "oklch": {
    "l": 0.3283,
    "c": 0.07038,
    "h": 120.6
  },
  "luminance": 0.03674
}

Semantic roles & 50–950 ramp

primary
#303A09
secondary
#372778
accent
#38F05E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303A09

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

Preview Lab → · Contrast checker → · Palette generator →

#303A09 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva