#303A06#303A06

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

Color values

HEX#303A06
RGBrgb(48, 58, 6)
HSLhsl(72, 81%, 13%)
HSVhsv(72, 90%, 23%)
CMYKcmyk(17.2%, 0%, 89.7%, 77.3%)
CIE-LABlab(22.54, -12.35, 28.36)
CIE-LCHlch(22.54, 30.93, 113.53°)
OKLaboklab(32.8% -0.0368 0.0628)
OKLCHoklch(32.8% 0.073 120.4)
XYZxyz(2.7649, 3.6676, 0.7345)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A06 #10063A
analogous
#3A2A06 #303A06 #163A06
triadic
#303A06 #06303A #3A0630
tetradic
#303A06 #063A2A #10063A #3A0616
square
#303A06 #063A2A #10063A #3A0616
split-complementary
#303A06 #06163A #2A063A
monochromatic
#171C03 #171C03 #303A06 #5E710C #8CA911

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##303A06#FFFFFF#000000##FFFFFF
##303A061.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)
#3E3600
Deuteranopia (green-blind)
#3D360B
Tritanopia (blue-blind)
#333630
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #303a06;
/* rgb */ color: rgb(48, 58, 6);
/* oklch */ color: oklch(32.8% 0.073 120.4);
Tailwind
colors: {
  custom: {
    50: '#6a704b',
    500: '#303a06',
    950: '#000000',
  },
}
SCSS
$custom: #303a06;
$custom-light: #6a704b;
$custom-dark: #000000;
JSON
{
  "hex": "#303a06",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 6
  },
  "hsl": {
    "h": 71.538,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.32804,
    "c": 0.07273,
    "h": 120.4
  },
  "luminance": 0.03668
}

Semantic roles & 50–950 ramp

primary
#303A06
secondary
#33227A
accent
#30F857
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303A06

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

Preview Lab → · Contrast checker → · Palette generator →

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