#303A05#303A05

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

Color values

HEX#303A05
RGBrgb(48, 58, 5)
HSLhsl(71, 84%, 12%)
HSVhsv(71, 91%, 23%)
CMYKcmyk(17.2%, 0%, 91.4%, 77.3%)
CIE-LABlab(22.53, -12.42, 28.76)
CIE-LCHlch(22.53, 31.32, 113.36°)
OKLaboklab(32.8% -0.0371 0.0635)
OKLCHoklch(32.8% 0.074 120.3)
XYZxyz(2.7594, 3.6655, 0.7057)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A05 #0F053A
analogous
#3A2A05 #303A05 #153A05
triadic
#303A05 #05303A #3A0530
tetradic
#303A05 #053A2A #0F053A #3A0515
square
#303A05 #053A2A #0F053A #3A0515
split-complementary
#303A05 #05153A #2A053A
monochromatic
#171C02 #171C02 #303A05 #5F720A #8DAB0F

Accessibility & contrast

On white

12.12
#303A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303A05
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303A05#FFFFFF#000000##FFFFFF
##303A051.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3D360A
Tritanopia (blue-blind)
#333630
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #303a05;
/* rgb */ color: rgb(48, 58, 5);
/* oklch */ color: oklch(32.8% 0.074 120.3);
Tailwind
colors: {
  custom: {
    50: '#6a704a',
    500: '#303a05',
    950: '#000000',
  },
}
SCSS
$custom: #303a05;
$custom-light: #6a704a;
$custom-dark: #000000;
JSON
{
  "hex": "#303a05",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 5
  },
  "hsl": {
    "h": 71.321,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32796,
    "c": 0.07354,
    "h": 120.3
  },
  "luminance": 0.03665
}

Semantic roles & 50–950 ramp

primary
#303A05
secondary
#31207B
accent
#2DFA54
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303A05

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

Preview Lab → · Contrast checker → · Palette generator →

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