#304809#304809

#304809 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.9% C 0.091 H 129.0°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#304809
RGBrgb(48, 72, 9)
HSLhsl(83, 78%, 16%)
HSVhsv(83, 88%, 28%)
CMYKcmyk(33.3%, 0%, 87.5%, 71.8%)
CIE-LABlab(27.53, -19.92, 31.95)
CIE-LCHlch(27.53, 37.65, 121.94°)
OKLaboklab(36.85% -0.0571 0.0704)
OKLCHoklch(36.85% 0.091 129)
XYZxyz(3.5856, 5.2827, 1.0891)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304809 #210948
analogous
#484009 #304809 #104809
triadic
#304809 #093048 #480930
tetradic
#304809 #094840 #210948 #480910
square
#304809 #094840 #210948 #480910
split-complementary
#304809 #091048 #400948
monochromatic
#121B03 #121B03 #304809 #547E10 #79B517

Accessibility & contrast

On white

10.21
#304809 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#304809 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304809
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304809#FFFFFF#000000##FFFFFF
##3048091.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4200
Deuteranopia (green-blind)
#494010
Tritanopia (blue-blind)
#32443C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #304809;
/* rgb */ color: rgb(48, 72, 9);
/* oklch */ color: oklch(36.9% 0.091 129.0);
Tailwind
colors: {
  custom: {
    50: '#6b7b4f',
    500: '#304809',
    950: '#000000',
  },
}
SCSS
$custom: #304809;
$custom-light: #6b7b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#304809",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 9
  },
  "hsl": {
    "h": 82.857,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36851,
    "c": 0.09064,
    "h": 129
  },
  "luminance": 0.05283
}

Semantic roles & 50–950 ramp

primary
#304809
secondary
#4B2785
accent
#34F47D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #304809

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

Preview Lab → · Contrast checker → · Palette generator →

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