#303D09#303D09

#303D09 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.7% C 0.075 H 123.0°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#303D09
RGBrgb(48, 61, 9)
HSLhsl(75, 74%, 14%)
HSVhsv(75, 85%, 24%)
CMYKcmyk(21.3%, 0%, 85.2%, 76.1%)
CIE-LABlab(23.62, -13.89, 28.24)
CIE-LCHlch(23.62, 31.48, 116.19°)
OKLaboklab(33.69% -0.0406 0.0627)
OKLCHoklch(33.69% 0.075 123)
XYZxyz(2.9370, 3.9856, 0.8730)
Luminance0.0399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303D09 #16093D
analogous
#3D3009 #303D09 #163D09
triadic
#303D09 #09303D #3D0930
tetradic
#303D09 #093D30 #16093D #3D0916
square
#303D09 #093D30 #16093D #3D0916
split-complementary
#303D09 #09163D #30093D
monochromatic
#151B04 #151B04 #303D09 #5A7211 #84A819

Accessibility & contrast

On white

11.68
#303D09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#303D09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303D09
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303D09#FFFFFF#000000##FFFFFF
##303D091.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413902
Deuteranopia (green-blind)
#3F380E
Tritanopia (blue-blind)
#333933
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #303d09;
/* rgb */ color: rgb(48, 61, 9);
/* oklch */ color: oklch(33.7% 0.075 123.0);
Tailwind
colors: {
  custom: {
    50: '#6a724d',
    500: '#303d09',
    950: '#000000',
  },
}
SCSS
$custom: #303d09;
$custom-light: #6a724d;
$custom-dark: #000000;
JSON
{
  "hex": "#303d09",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 9
  },
  "hsl": {
    "h": 75,
    "s": 74.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33686,
    "c": 0.07472,
    "h": 123
  },
  "luminance": 0.03986
}

Semantic roles & 50–950 ramp

primary
#303D09
secondary
#3C277B
accent
#37F165
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #303D09

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

Preview Lab → · Contrast checker → · Palette generator →

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