#303C05#303C05

#303C05 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.4% C 0.076 H 121.8°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#303C05
RGBrgb(48, 60, 5)
HSLhsl(73, 85%, 13%)
HSVhsv(73, 92%, 24%)
CMYKcmyk(20%, 0%, 91.7%, 76.5%)
CIE-LABlab(23.24, -13.58, 29.49)
CIE-LCHlch(23.24, 32.46, 114.73°)
OKLaboklab(33.37% -0.0402 0.0648)
OKLCHoklch(33.37% 0.076 121.8)
XYZxyz(2.8622, 3.8710, 0.7399)
Luminance0.0387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303C05 #11053C
analogous
#3C2C05 #303C05 #143C05
triadic
#303C05 #05303C #3C0530
tetradic
#303C05 #053C2C #11053C #3C0514
square
#303C05 #053C2C #11053C #3C0514
split-complementary
#303C05 #05143C #2C053C
monochromatic
#171C02 #171C02 #303C05 #5D740A #8AAD0E

Accessibility & contrast

On white

11.84
#303C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#303C05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303C05
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303C05#FFFFFF#000000##FFFFFF
##303C051.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403800
Deuteranopia (green-blind)
#3F370A
Tritanopia (blue-blind)
#333832
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #303c05;
/* rgb */ color: rgb(48, 60, 5);
/* oklch */ color: oklch(33.4% 0.076 121.8);
Tailwind
colors: {
  custom: {
    50: '#6a714b',
    500: '#303c05',
    950: '#000000',
  },
}
SCSS
$custom: #303c05;
$custom-light: #6a714b;
$custom-dark: #000000;
JSON
{
  "hex": "#303c05",
  "rgb": {
    "r": 48,
    "g": 60,
    "b": 5
  },
  "hsl": {
    "h": 73.091,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.33367,
    "c": 0.07632,
    "h": 121.8
  },
  "luminance": 0.03871
}

Semantic roles & 50–950 ramp

primary
#303C05
secondary
#34207D
accent
#2DFB5A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303C05

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

Preview Lab → · Contrast checker → · Palette generator →

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