#304208#304208

#304208 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.1% C 0.083 H 126.0°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#304208
RGBrgb(48, 66, 8)
HSLhsl(79, 78%, 15%)
HSVhsv(79, 88%, 26%)
CMYKcmyk(27.3%, 0%, 87.9%, 74.1%)
CIE-LABlab(25.39, -16.76, 30.37)
CIE-LCHlch(25.39, 34.69, 118.90°)
OKLaboklab(35.11% -0.0486 0.0669)
OKLCHoklch(35.11% 0.083 126)
XYZxyz(3.2110, 4.5423, 0.9373)
Luminance0.0454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304208 #1A0842
analogous
#423708 #304208 #134208
triadic
#304208 #083042 #420830
tetradic
#304208 #084237 #1A0842 #420813
square
#304208 #084237 #1A0842 #420813
split-complementary
#304208 #081342 #370842
monochromatic
#141B03 #141B03 #304208 #58790F #7FAF15

Accessibility & contrast

On white

11.00
#304208 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#304208 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304208
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304208#FFFFFF#000000##FFFFFF
##3042081.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#443C0E
Tritanopia (blue-blind)
#323E37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #304208;
/* rgb */ color: rgb(48, 66, 8);
/* oklch */ color: oklch(35.1% 0.083 126.0);
Tailwind
colors: {
  custom: {
    50: '#6b764d',
    500: '#304208',
    950: '#000000',
  },
}
SCSS
$custom: #304208;
$custom-light: #6b764d;
$custom-dark: #000000;
JSON
{
  "hex": "#304208",
  "rgb": {
    "r": 48,
    "g": 66,
    "b": 8
  },
  "hsl": {
    "h": 78.621,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.35113,
    "c": 0.08267,
    "h": 126
  },
  "luminance": 0.04542
}

Semantic roles & 50–950 ramp

primary
#304208
secondary
#422580
accent
#33F56F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #304208

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

Preview Lab → · Contrast checker → · Palette generator →

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