#304408#304408

#304408 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.7% C 0.086 H 127.1°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#304408
RGBrgb(48, 68, 8)
HSLhsl(80, 79%, 15%)
HSVhsv(80, 88%, 27%)
CMYKcmyk(29.4%, 0%, 88.2%, 73.3%)
CIE-LABlab(26.10, -17.85, 31.03)
CIE-LCHlch(26.10, 35.80, 119.92°)
OKLaboklab(35.69% -0.0516 0.0683)
OKLCHoklch(35.69% 0.086 127.1)
XYZxyz(3.3299, 4.7801, 0.9769)
Luminance0.0478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304408 #1C0844
analogous
#443A08 #304408 #124408
triadic
#304408 #083044 #440830
tetradic
#304408 #08443A #1C0844 #440812
square
#304408 #08443A #1C0844 #440812
split-complementary
#304408 #081244 #3A0844
monochromatic
#131B03 #131B03 #304408 #577B0E #7DB215

Accessibility & contrast

On white

10.74
#304408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#304408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304408
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304408#FFFFFF#000000##FFFFFF
##3044081.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F00
Deuteranopia (green-blind)
#453D0E
Tritanopia (blue-blind)
#324039
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #304408;
/* rgb */ color: rgb(48, 68, 8);
/* oklch */ color: oklch(35.7% 0.086 127.1);
Tailwind
colors: {
  custom: {
    50: '#6b784d',
    500: '#304408',
    950: '#000000',
  },
}
SCSS
$custom: #304408;
$custom-light: #6b784d;
$custom-dark: #000000;
JSON
{
  "hex": "#304408",
  "rgb": {
    "r": 48,
    "g": 68,
    "b": 8
  },
  "hsl": {
    "h": 80,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.35689,
    "c": 0.08554,
    "h": 127.1
  },
  "luminance": 0.0478
}

Semantic roles & 50–950 ramp

primary
#304408
secondary
#442682
accent
#32F573
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #304408

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

Preview Lab → · Contrast checker → · Palette generator →

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