#304916#304916

#304916 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.3% C 0.082 H 131.5°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#304916
RGBrgb(48, 73, 22)
HSLhsl(89, 54%, 19%)
HSVhsv(89, 70%, 29%)
CMYKcmyk(34.2%, 0%, 69.9%, 71.4%)
CIE-LABlab(27.98, -19.43, 26.71)
CIE-LCHlch(27.98, 33.02, 126.03°)
OKLaboklab(37.26% -0.0545 0.0616)
OKLCHoklch(37.26% 0.082 131.5)
XYZxyz(3.7462, 5.4513, 1.6137)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304916 #2F1649
analogous
#494816 #304916 #164916
triadic
#304916 #163049 #491630
tetradic
#304916 #164948 #2F1649 #491616
square
#304916 #164948 #2F1649 #491616
split-complementary
#304916 #161649 #481649
monochromatic
#0F1807 #111A08 #304916 #4F7824 #6EA732

Accessibility & contrast

On white

10.05
#304916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#304916 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304916
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304916#FFFFFF#000000##FFFFFF
##3049161.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4310
Deuteranopia (green-blind)
#49411A
Tritanopia (blue-blind)
#31463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #304916;
/* rgb */ color: rgb(48, 73, 22);
/* oklch */ color: oklch(37.3% 0.082 131.5);
Tailwind
colors: {
  custom: {
    50: '#6a7c56',
    500: '#304916',
    950: '#000000',
  },
}
SCSS
$custom: #304916;
$custom-light: #6a7c56;
$custom-dark: #000000;
JSON
{
  "hex": "#304916",
  "rgb": {
    "r": 48,
    "g": 73,
    "b": 22
  },
  "hsl": {
    "h": 89.412,
    "s": 53.684,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37257,
    "c": 0.08226,
    "h": 131.5
  },
  "luminance": 0.05451
}

Semantic roles & 50–950 ramp

primary
#304916
secondary
#5D3A80
accent
#4BDD92
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #304916

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

Preview Lab → · Contrast checker → · Palette generator →

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