#303D08#303D08

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

Color values

HEX#303D08
RGBrgb(48, 61, 8)
HSLhsl(75, 77%, 14%)
HSVhsv(75, 87%, 24%)
CMYKcmyk(21.3%, 0%, 86.9%, 76.1%)
CIE-LABlab(23.62, -13.96, 28.64)
CIE-LCHlch(23.62, 31.86, 115.98°)
OKLaboklab(33.68% -0.0409 0.0634)
OKLCHoklch(33.68% 0.075 122.9)
XYZxyz(2.9315, 3.9834, 0.8441)
Luminance0.0398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303D08 #15083D
analogous
#3D2F08 #303D08 #153D08
triadic
#303D08 #08303D #3D0830
tetradic
#303D08 #083D2F #15083D #3D0815
square
#303D08 #083D2F #15083D #3D0815
split-complementary
#303D08 #08153D #2F083D
monochromatic
#151B04 #151B04 #303D08 #5B730F #85A916

Accessibility & contrast

On white

11.69
#303D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303D08
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303D08#FFFFFF#000000##FFFFFF
##303D081.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303d08;
/* rgb */ color: rgb(48, 61, 8);
/* oklch */ color: oklch(33.7% 0.075 122.9);
Tailwind
colors: {
  custom: {
    50: '#6a724c',
    500: '#303d08',
    950: '#000000',
  },
}
SCSS
$custom: #303d08;
$custom-light: #6a724c;
$custom-dark: #000000;
JSON
{
  "hex": "#303d08",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 8
  },
  "hsl": {
    "h": 74.717,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33677,
    "c": 0.07547,
    "h": 122.9
  },
  "luminance": 0.03983
}

Semantic roles & 50–950 ramp

primary
#303D08
secondary
#3A257C
accent
#34F363
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #303D08

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

Preview Lab → · Contrast checker → · Palette generator →

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