#303E08#303E08

#303E08 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.0% C 0.077 H 123.5°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#303E08
RGBrgb(48, 62, 8)
HSLhsl(76, 77%, 14%)
HSVhsv(76, 87%, 24%)
CMYKcmyk(22.6%, 0%, 87.1%, 75.7%)
CIE-LABlab(23.97, -14.53, 29.00)
CIE-LCHlch(23.97, 32.43, 116.61°)
OKLaboklab(33.96% -0.0425 0.0641)
OKLCHoklch(33.96% 0.077 123.5)
XYZxyz(2.9854, 4.0911, 0.8621)
Luminance0.0409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303E08 #16083E
analogous
#3E3108 #303E08 #153E08
triadic
#303E08 #08303E #3E0830
tetradic
#303E08 #083E31 #16083E #3E0815
square
#303E08 #083E31 #16083E #3E0815
split-complementary
#303E08 #08153E #31083E
monochromatic
#151B03 #151B03 #303E08 #5A740F #84AA16

Accessibility & contrast

On white

11.55
#303E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#303E08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303E08
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303E08#FFFFFF#000000##FFFFFF
##303E081.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#40390D
Tritanopia (blue-blind)
#333A34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #303e08;
/* rgb */ color: rgb(48, 62, 8);
/* oklch */ color: oklch(34.0% 0.077 123.5);
Tailwind
colors: {
  custom: {
    50: '#6a734c',
    500: '#303e08',
    950: '#000000',
  },
}
SCSS
$custom: #303e08;
$custom-light: #6a734c;
$custom-dark: #000000;
JSON
{
  "hex": "#303e08",
  "rgb": {
    "r": 48,
    "g": 62,
    "b": 8
  },
  "hsl": {
    "h": 75.556,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33964,
    "c": 0.07691,
    "h": 123.5
  },
  "luminance": 0.04091
}

Semantic roles & 50–950 ramp

primary
#303E08
secondary
#3C257D
accent
#34F466
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #303E08

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

Preview Lab → · Contrast checker → · Palette generator →

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