#304A0E#304A0E

#304A0E is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.5% C 0.090 H 130.4°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#304A0E
RGBrgb(48, 74, 14)
HSLhsl(86, 68%, 17%)
HSVhsv(86, 81%, 29%)
CMYKcmyk(35.1%, 0%, 81.1%, 71%)
CIE-LABlab(28.27, -20.64, 30.72)
CIE-LCHlch(28.27, 37.01, 123.89°)
OKLaboklab(37.46% -0.0586 0.0688)
OKLCHoklch(37.46% 0.09 130.4)
XYZxyz(3.7469, 5.5575, 1.2907)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304A0E #280E4A
analogous
#4A460E #304A0E #124A0E
triadic
#304A0E #0E304A #4A0E30
tetradic
#304A0E #0E4A46 #280E4A #4A0E12
square
#304A0E #0E4A46 #280E4A #4A0E12
split-complementary
#304A0E #0E124A #460E4A
monochromatic
#111A05 #111A05 #304A0E #517D18 #73B121

Accessibility & contrast

On white

9.95
#304A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#304A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304A0E
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304A0E#FFFFFF#000000##FFFFFF
##304A0E1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4404
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#31463E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #304a0e;
/* rgb */ color: rgb(48, 74, 14);
/* oklch */ color: oklch(37.5% 0.090 130.4);
Tailwind
colors: {
  custom: {
    50: '#6b7c51',
    500: '#304a0e',
    950: '#000000',
  },
}
SCSS
$custom: #304a0e;
$custom-light: #6b7c51;
$custom-dark: #000000;
JSON
{
  "hex": "#304a0e",
  "rgb": {
    "r": 48,
    "g": 74,
    "b": 14
  },
  "hsl": {
    "h": 86,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37465,
    "c": 0.09033,
    "h": 130.4
  },
  "luminance": 0.05558
}

Semantic roles & 50–950 ramp

primary
#304A0E
secondary
#542F85
accent
#3DEB88
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #304A0E

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

Preview Lab → · Contrast checker → · Palette generator →

#304A0E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva