#304D15#304D15

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

Color values

HEX#304D15
RGBrgb(48, 77, 21)
HSLhsl(91, 57%, 19%)
HSVhsv(91, 73%, 30%)
CMYKcmyk(37.7%, 0%, 72.7%, 69.8%)
CIE-LABlab(29.39, -21.60, 28.72)
CIE-LCHlch(29.39, 35.94, 126.95°)
OKLaboklab(38.4% -0.0606 0.0657)
OKLCHoklch(38.4% 0.089 132.7)
XYZxyz(4.0081, 5.9901, 1.6543)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304D15 #32154D
analogous
#4C4D15 #304D15 #154D16
triadic
#304D15 #15304D #4D1530
tetradic
#304D15 #154C4D #32154D #4D1615
square
#304D15 #154C4D #32154D #4D1615
split-complementary
#304D15 #16154D #4D154C
monochromatic
#0F1807 #121D08 #304D15 #4E7D22 #6CAD2F

Accessibility & contrast

On white

9.55
#304D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #304D15
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304D15#FFFFFF#000000##FFFFFF
##304D151.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50470D
Deuteranopia (green-blind)
#4C441A
Tritanopia (blue-blind)
#304A42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #304d15;
/* rgb */ color: rgb(48, 77, 21);
/* oklch */ color: oklch(38.4% 0.089 132.7);
Tailwind
colors: {
  custom: {
    50: '#6b7f56',
    500: '#304d15',
    950: '#000000',
  },
}
SCSS
$custom: #304d15;
$custom-light: #6b7f56;
$custom-dark: #000000;
JSON
{
  "hex": "#304d15",
  "rgb": {
    "r": 48,
    "g": 77,
    "b": 21
  },
  "hsl": {
    "h": 91.071,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38397,
    "c": 0.08935,
    "h": 132.7
  },
  "luminance": 0.0599
}

Semantic roles & 50–950 ramp

primary
#304D15
secondary
#603985
accent
#47E097
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #304D15

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

Preview Lab → · Contrast checker → · Palette generator →

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