#304D19#304D19

#304D19 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.4% C 0.086 H 133.6°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#304D19
RGBrgb(48, 77, 25)
HSLhsl(93, 51%, 20%)
HSVhsv(93, 68%, 30%)
CMYKcmyk(37.7%, 0%, 67.5%, 69.8%)
CIE-LABlab(29.43, -21.20, 26.76)
CIE-LCHlch(29.43, 34.14, 128.38°)
OKLaboklab(38.44% -0.0591 0.0621)
OKLCHoklch(38.44% 0.086 133.6)
XYZxyz(4.0482, 6.0062, 1.8655)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304D19 #36194D
analogous
#4A4D19 #304D19 #194D1C
triadic
#304D19 #19304D #4D1930
tetradic
#304D19 #194A4D #36194D #4D1C19
square
#304D19 #194A4D #36194D #4D1C19
split-complementary
#304D19 #1C194D #4D194A
monochromatic
#0E1708 #131F0A #304D19 #4D7B28 #6AA937

Accessibility & contrast

On white

9.54
#304D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#304D19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304D19
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304D19#FFFFFF#000000##FFFFFF
##304D191.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504713
Deuteranopia (green-blind)
#4C441D
Tritanopia (blue-blind)
#304A42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #304d19;
/* rgb */ color: rgb(48, 77, 25);
/* oklch */ color: oklch(38.4% 0.086 133.6);
Tailwind
colors: {
  custom: {
    50: '#6b7f58',
    500: '#304d19',
    950: '#000000',
  },
}
SCSS
$custom: #304d19;
$custom-light: #6b7f58;
$custom-dark: #000000;
JSON
{
  "hex": "#304d19",
  "rgb": {
    "r": 48,
    "g": 77,
    "b": 25
  },
  "hsl": {
    "h": 93.462,
    "s": 50.98,
    "l": 20
  },
  "oklch": {
    "l": 0.38443,
    "c": 0.08574,
    "h": 133.6
  },
  "luminance": 0.06006
}

Semantic roles & 50–950 ramp

primary
#304D19
secondary
#653E83
accent
#4DDA9C
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #304D19

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

Preview Lab → · Contrast checker → · Palette generator →

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