#303808#303808

#303808 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.3% C 0.068 H 118.8°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#303808
RGBrgb(48, 56, 8)
HSLhsl(70, 75%, 13%)
HSVhsv(70, 86%, 22%)
CMYKcmyk(14.3%, 0%, 85.7%, 78%)
CIE-LABlab(21.85, -11.02, 26.81)
CIE-LCHlch(21.85, 28.99, 112.35°)
OKLaboklab(32.25% -0.0329 0.0599)
OKLCHoklch(32.25% 0.068 118.8)
XYZxyz(2.6770, 3.4743, 0.7593)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303808 #100838
analogous
#382808 #303808 #183808
triadic
#303808 #083038 #380830
tetradic
#303808 #083828 #100838 #380818
square
#303808 #083828 #100838 #380818
split-complementary
#303808 #081838 #280838
monochromatic
#171B04 #171B04 #303808 #5E6E10 #8CA317

Accessibility & contrast

On white

12.39
#303808 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#303808 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303808
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303808#FFFFFF#000000##FFFFFF
##3038081.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3402
Deuteranopia (green-blind)
#3B350C
Tritanopia (blue-blind)
#33342F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #303808;
/* rgb */ color: rgb(48, 56, 8);
/* oklch */ color: oklch(32.3% 0.068 118.8);
Tailwind
colors: {
  custom: {
    50: '#6a6e4c',
    500: '#303808',
    950: '#000000',
  },
}
SCSS
$custom: #303808;
$custom-light: #6a6e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#303808",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 8
  },
  "hsl": {
    "h": 70,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.32254,
    "c": 0.06831,
    "h": 118.8
  },
  "luminance": 0.03474
}

Semantic roles & 50–950 ramp

primary
#303808
secondary
#332577
accent
#36F255
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303808

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

Preview Lab → · Contrast checker → · Palette generator →

#303808 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva