#304609#304609

#304609 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.3% C 0.088 H 128.1°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#304609
RGBrgb(48, 70, 9)
HSLhsl(82, 77%, 15%)
HSVhsv(82, 87%, 27%)
CMYKcmyk(31.4%, 0%, 87.1%, 72.5%)
CIE-LABlab(26.82, -18.86, 31.29)
CIE-LCHlch(26.82, 36.54, 121.08°)
OKLaboklab(36.27% -0.0542 0.069)
OKLCHoklch(36.27% 0.088 128.1)
XYZxyz(3.4584, 5.0283, 1.0467)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304609 #1F0946
analogous
#463D09 #304609 #124609
triadic
#304609 #093046 #460930
tetradic
#304609 #09463D #1F0946 #460912
square
#304609 #09463D #1F0946 #460912
split-complementary
#304609 #091246 #3D0946
monochromatic
#131B03 #131B03 #304609 #557C10 #7AB217

Accessibility & contrast

On white

10.47
#304609 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#304609 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304609
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304609#FFFFFF#000000##FFFFFF
##3046091.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#473F0F
Tritanopia (blue-blind)
#32423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #304609;
/* rgb */ color: rgb(48, 70, 9);
/* oklch */ color: oklch(36.3% 0.088 128.1);
Tailwind
colors: {
  custom: {
    50: '#6b794e',
    500: '#304609',
    950: '#000000',
  },
}
SCSS
$custom: #304609;
$custom-light: #6b794e;
$custom-dark: #000000;
JSON
{
  "hex": "#304609",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 9
  },
  "hsl": {
    "h": 81.639,
    "s": 77.215,
    "l": 15.49
  },
  "oklch": {
    "l": 0.36273,
    "c": 0.08777,
    "h": 128.1
  },
  "luminance": 0.05028
}

Semantic roles & 50–950 ramp

primary
#304609
secondary
#492784
accent
#34F479
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #304609

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

Preview Lab → · Contrast checker → · Palette generator →

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