#303C09#303C09

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

Color values

HEX#303C09
RGBrgb(48, 60, 9)
HSLhsl(74, 74%, 14%)
HSVhsv(74, 85%, 24%)
CMYKcmyk(20%, 0%, 85%, 76.5%)
CIE-LABlab(23.27, -13.31, 27.89)
CIE-LCHlch(23.27, 30.90, 115.52°)
OKLaboklab(33.4% -0.0391 0.062)
OKLCHoklch(33.4% 0.073 122.2)
XYZxyz(2.8841, 3.8798, 0.8553)
Luminance0.0388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303C09 #15093C
analogous
#3C2E09 #303C09 #163C09
triadic
#303C09 #09303C #3C0930
tetradic
#303C09 #093C2E #15093C #3C0916
square
#303C09 #093C2E #15093C #3C0916
split-complementary
#303C09 #09163C #2E093C
monochromatic
#151B04 #151B04 #303C09 #5B7111 #85A619

Accessibility & contrast

On white

11.82
#303C09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#303C09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303C09
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303C09#FFFFFF#000000##FFFFFF
##303C091.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303c09;
/* rgb */ color: rgb(48, 60, 9);
/* oklch */ color: oklch(33.4% 0.073 122.2);
Tailwind
colors: {
  custom: {
    50: '#6a714d',
    500: '#303c09',
    950: '#000000',
  },
}
SCSS
$custom: #303c09;
$custom-light: #6a714d;
$custom-dark: #000000;
JSON
{
  "hex": "#303c09",
  "rgb": {
    "r": 48,
    "g": 60,
    "b": 9
  },
  "hsl": {
    "h": 74.118,
    "s": 73.913,
    "l": 13.529
  },
  "oklch": {
    "l": 0.334,
    "c": 0.07327,
    "h": 122.2
  },
  "luminance": 0.0388
}

Semantic roles & 50–950 ramp

primary
#303C09
secondary
#3A277A
accent
#37F163
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303C09

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

Preview Lab → · Contrast checker → · Palette generator →

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