#303C08#303C08

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

Color values

HEX#303C08
RGBrgb(48, 60, 8)
HSLhsl(74, 76%, 13%)
HSVhsv(74, 87%, 24%)
CMYKcmyk(20%, 0%, 86.7%, 76.5%)
CIE-LABlab(23.26, -13.38, 28.29)
CIE-LCHlch(23.26, 31.29, 115.31°)
OKLaboklab(33.39% -0.0394 0.0627)
OKLCHoklch(33.39% 0.074 122.1)
XYZxyz(2.8787, 3.8776, 0.8265)
Luminance0.0388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303C08 #14083C
analogous
#3C2E08 #303C08 #163C08
triadic
#303C08 #08303C #3C0830
tetradic
#303C08 #083C2E #14083C #3C0816
square
#303C08 #083C2E #14083C #3C0816
split-complementary
#303C08 #08163C #2E083C
monochromatic
#161B04 #161B04 #303C08 #5B720F #86A816

Accessibility & contrast

On white

11.83
#303C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303C08
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303C08#FFFFFF#000000##FFFFFF
##303C081.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303c08;
/* rgb */ color: rgb(48, 60, 8);
/* oklch */ color: oklch(33.4% 0.074 122.1);
Tailwind
colors: {
  custom: {
    50: '#6a714c',
    500: '#303c08',
    950: '#000000',
  },
}
SCSS
$custom: #303c08;
$custom-light: #6a714c;
$custom-dark: #000000;
JSON
{
  "hex": "#303c08",
  "rgb": {
    "r": 48,
    "g": 60,
    "b": 8
  },
  "hsl": {
    "h": 73.846,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33392,
    "c": 0.07402,
    "h": 122.1
  },
  "luminance": 0.03878
}

Semantic roles & 50–950 ramp

primary
#303C08
secondary
#39257B
accent
#35F361
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303C08

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

Preview Lab → · Contrast checker → · Palette generator →

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