#304709#304709

#304709 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.6% C 0.089 H 128.6°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#304709
RGBrgb(48, 71, 9)
HSLhsl(82, 78%, 16%)
HSVhsv(82, 87%, 28%)
CMYKcmyk(32.4%, 0%, 87.3%, 72.2%)
CIE-LABlab(27.17, -19.39, 31.62)
CIE-LCHlch(27.17, 37.10, 121.52°)
OKLaboklab(36.56% -0.0556 0.0697)
OKLCHoklch(36.56% 0.089 128.6)
XYZxyz(3.5215, 5.1545, 1.0678)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304709 #200947
analogous
#473F09 #304709 #114709
triadic
#304709 #093047 #470930
tetradic
#304709 #09473F #200947 #470911
square
#304709 #09473F #200947 #470911
split-complementary
#304709 #091147 #3F0947
monochromatic
#121B03 #121B03 #304709 #557D10 #79B417

Accessibility & contrast

On white

10.34
#304709 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#304709 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304709
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304709#FFFFFF#000000##FFFFFF
##3047091.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#484010
Tritanopia (blue-blind)
#32433C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #304709;
/* rgb */ color: rgb(48, 71, 9);
/* oklch */ color: oklch(36.6% 0.089 128.6);
Tailwind
colors: {
  custom: {
    50: '#6b7a4e',
    500: '#304709',
    950: '#000000',
  },
}
SCSS
$custom: #304709;
$custom-light: #6b7a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#304709",
  "rgb": {
    "r": 48,
    "g": 71,
    "b": 9
  },
  "hsl": {
    "h": 82.258,
    "s": 77.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.36562,
    "c": 0.0892,
    "h": 128.6
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

primary
#304709
secondary
#4A2784
accent
#34F47B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #304709

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

Preview Lab → · Contrast checker → · Palette generator →

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