#303F08#303F08

#303F08 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.3% C 0.078 H 124.2°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#303F08
RGBrgb(48, 63, 8)
HSLhsl(76, 77%, 14%)
HSVhsv(76, 87%, 25%)
CMYKcmyk(23.8%, 0%, 87.3%, 75.3%)
CIE-LABlab(24.32, -15.09, 29.35)
CIE-LCHlch(24.32, 33.00, 117.22°)
OKLaboklab(34.25% -0.044 0.0648)
OKLCHoklch(34.25% 0.078 124.2)
XYZxyz(3.0403, 4.2009, 0.8804)
Luminance0.0420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303F08 #17083F
analogous
#3F3308 #303F08 #153F08
triadic
#303F08 #08303F #3F0830
tetradic
#303F08 #083F33 #17083F #3F0815
square
#303F08 #083F33 #17083F #3F0815
split-complementary
#303F08 #08153F #33083F
monochromatic
#151B03 #151B03 #303F08 #59750F #83AC16

Accessibility & contrast

On white

11.41
#303F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#303F08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303F08
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303F08#FFFFFF#000000##FFFFFF
##303F081.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#413A0D
Tritanopia (blue-blind)
#333B35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #303f08;
/* rgb */ color: rgb(48, 63, 8);
/* oklch */ color: oklch(34.3% 0.078 124.2);
Tailwind
colors: {
  custom: {
    50: '#6b744d',
    500: '#303f08',
    950: '#000000',
  },
}
SCSS
$custom: #303f08;
$custom-light: #6b744d;
$custom-dark: #000000;
JSON
{
  "hex": "#303f08",
  "rgb": {
    "r": 48,
    "g": 63,
    "b": 8
  },
  "hsl": {
    "h": 76.364,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.3425,
    "c": 0.07835,
    "h": 124.2
  },
  "luminance": 0.04201
}

Semantic roles & 50–950 ramp

primary
#303F08
secondary
#3D257E
accent
#34F468
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #303F08

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

Preview Lab → · Contrast checker → · Palette generator →

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