#304A19#304A19

#304A19 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.6% C 0.081 H 132.6°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#304A19
RGBrgb(48, 74, 25)
HSLhsl(92, 49%, 19%)
HSVhsv(92, 66%, 29%)
CMYKcmyk(35.1%, 0%, 66.2%, 71%)
CIE-LABlab(28.37, -19.63, 25.58)
CIE-LCHlch(28.37, 32.24, 127.51°)
OKLaboklab(37.58% -0.0548 0.0596)
OKLCHoklch(37.58% 0.081 132.6)
XYZxyz(3.8431, 5.5960, 1.7972)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304A19 #33194A
analogous
#494A19 #304A19 #194A1B
triadic
#304A19 #19304A #4A1930
tetradic
#304A19 #19494A #33194A #4A1B19
square
#304A19 #19494A #33194A #4A1B19
split-complementary
#304A19 #1B194A #4A1949
monochromatic
#0F1708 #121C0A #304A19 #4E7828 #6BA538

Accessibility & contrast

On white

9.91
#304A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#304A19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304A19
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304A19#FFFFFF#000000##FFFFFF
##304A191.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4414
Deuteranopia (green-blind)
#4A421D
Tritanopia (blue-blind)
#30473F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #304a19;
/* rgb */ color: rgb(48, 74, 25);
/* oklch */ color: oklch(37.6% 0.081 132.6);
Tailwind
colors: {
  custom: {
    50: '#6a7c58',
    500: '#304a19',
    950: '#000000',
  },
}
SCSS
$custom: #304a19;
$custom-light: #6a7c58;
$custom-dark: #000000;
JSON
{
  "hex": "#304a19",
  "rgb": {
    "r": 48,
    "g": 74,
    "b": 25
  },
  "hsl": {
    "h": 91.837,
    "s": 49.495,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37581,
    "c": 0.08096,
    "h": 132.6
  },
  "luminance": 0.05596
}

Semantic roles & 50–950 ramp

primary
#304A19
secondary
#613E80
accent
#4FD998
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #304A19

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

Preview Lab → · Contrast checker → · Palette generator →

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