#304309#304309

#304309 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.4% C 0.083 H 126.7°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#304309
RGBrgb(48, 67, 9)
HSLhsl(80, 76%, 15%)
HSVhsv(80, 87%, 26%)
CMYKcmyk(28.4%, 0%, 86.6%, 73.7%)
CIE-LABlab(25.75, -17.25, 30.30)
CIE-LCHlch(25.75, 34.87, 119.65°)
OKLaboklab(35.41% -0.0498 0.0669)
OKLCHoklch(35.41% 0.083 126.7)
XYZxyz(3.2754, 4.6624, 0.9858)
Luminance0.0466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304309 #1C0943
analogous
#433909 #304309 #134309
triadic
#304309 #093043 #430930
tetradic
#304309 #094339 #1C0943 #430913
square
#304309 #094339 #1C0943 #430913
split-complementary
#304309 #091343 #390943
monochromatic
#131B04 #131B04 #304309 #577910 #7DAF17

Accessibility & contrast

On white

10.87
#304309 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#304309 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304309
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304309#FFFFFF#000000##FFFFFF
##3043091.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E00
Deuteranopia (green-blind)
#443D0F
Tritanopia (blue-blind)
#323F38
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #304309;
/* rgb */ color: rgb(48, 67, 9);
/* oklch */ color: oklch(35.4% 0.083 126.7);
Tailwind
colors: {
  custom: {
    50: '#6b774e',
    500: '#304309',
    950: '#000000',
  },
}
SCSS
$custom: #304309;
$custom-light: #6b774e;
$custom-dark: #000000;
JSON
{
  "hex": "#304309",
  "rgb": {
    "r": 48,
    "g": 67,
    "b": 9
  },
  "hsl": {
    "h": 79.655,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.35408,
    "c": 0.08344,
    "h": 126.7
  },
  "luminance": 0.04662
}

Semantic roles & 50–950 ramp

primary
#304309
secondary
#442781
accent
#35F373
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070802
muted
#7A7B78

Preview Lab

Preview with #304309

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

Preview Lab → · Contrast checker → · Palette generator →

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