#303B08#303B08

#303B08 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.1% C 0.073 H 121.3°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#303B08
RGBrgb(48, 59, 8)
HSLhsl(73, 76%, 13%)
HSVhsv(73, 86%, 23%)
CMYKcmyk(18.6%, 0%, 86.4%, 76.9%)
CIE-LABlab(22.91, -12.80, 27.92)
CIE-LCHlch(22.91, 30.72, 114.62°)
OKLaboklab(33.11% -0.0378 0.062)
OKLCHoklch(33.11% 0.073 121.3)
XYZxyz(2.8268, 3.7738, 0.8092)
Luminance0.0377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303B08 #13083B
analogous
#3B2C08 #303B08 #163B08
triadic
#303B08 #08303B #3B0830
tetradic
#303B08 #083B2C #13083B #3B0816
square
#303B08 #083B2C #13083B #3B0816
split-complementary
#303B08 #08163B #2C083B
monochromatic
#161B04 #161B04 #303B08 #5C710F #88A717

Accessibility & contrast

On white

11.97
#303B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#303B08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303B08
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303B08#FFFFFF#000000##FFFFFF
##303B081.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3701
Deuteranopia (green-blind)
#3E370D
Tritanopia (blue-blind)
#333731
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #303b08;
/* rgb */ color: rgb(48, 59, 8);
/* oklch */ color: oklch(33.1% 0.073 121.3);
Tailwind
colors: {
  custom: {
    50: '#6a704c',
    500: '#303b08',
    950: '#000000',
  },
}
SCSS
$custom: #303b08;
$custom-light: #6a704c;
$custom-dark: #000000;
JSON
{
  "hex": "#303b08",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 8
  },
  "hsl": {
    "h": 72.941,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.33106,
    "c": 0.07258,
    "h": 121.3
  },
  "luminance": 0.03774
}

Semantic roles & 50–950 ramp

primary
#303B08
secondary
#37257A
accent
#35F35E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303B08

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

Preview Lab → · Contrast checker → · Palette generator →

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