#304009#304009

#304009 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.5% C 0.079 H 124.9°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#304009
RGBrgb(48, 64, 9)
HSLhsl(77, 75%, 14%)
HSVhsv(77, 86%, 25%)
CMYKcmyk(25%, 0%, 85.9%, 74.9%)
CIE-LABlab(24.69, -15.59, 29.29)
CIE-LCHlch(24.69, 33.18, 118.03°)
OKLaboklab(34.54% -0.0453 0.0648)
OKLCHoklch(34.54% 0.079 124.9)
XYZxyz(3.1017, 4.3149, 0.9278)
Luminance0.0432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304009 #190940
analogous
#403509 #304009 #154009
triadic
#304009 #093040 #400930
tetradic
#304009 #094035 #190940 #400915
square
#304009 #094035 #190940 #400915
split-complementary
#304009 #091540 #350940
monochromatic
#141B04 #141B04 #304009 #587611 #80AB18

Accessibility & contrast

On white

11.27
#304009 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#304009 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304009
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304009#FFFFFF#000000##FFFFFF
##3040091.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B01
Deuteranopia (green-blind)
#423A0E
Tritanopia (blue-blind)
#333C36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #304009;
/* rgb */ color: rgb(48, 64, 9);
/* oklch */ color: oklch(34.5% 0.079 124.9);
Tailwind
colors: {
  custom: {
    50: '#6b744d',
    500: '#304009',
    950: '#000000',
  },
}
SCSS
$custom: #304009;
$custom-light: #6b744d;
$custom-dark: #000000;
JSON
{
  "hex": "#304009",
  "rgb": {
    "r": 48,
    "g": 64,
    "b": 9
  },
  "hsl": {
    "h": 77.455,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34545,
    "c": 0.07909,
    "h": 124.9
  },
  "luminance": 0.04315
}

Semantic roles & 50–950 ramp

primary
#304009
secondary
#40277E
accent
#36F26D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #304009

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

Preview Lab → · Contrast checker → · Palette generator →

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