#304614#304614

#304614 is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.4% C 0.079 H 129.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#304614
RGBrgb(48, 70, 20)
HSLhsl(86, 56%, 18%)
HSVhsv(86, 71%, 27%)
CMYKcmyk(31.4%, 0%, 71.4%, 72.5%)
CIE-LABlab(26.90, -18.02, 26.54)
CIE-LCHlch(26.90, 32.08, 124.17°)
OKLaboklab(36.37% -0.0509 0.061)
OKLCHoklch(36.37% 0.079 129.8)
XYZxyz(3.5353, 5.0591, 1.4519)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304614 #2A1446
analogous
#464314 #304614 #174614
triadic
#304614 #143046 #461430
tetradic
#304614 #144643 #2A1446 #461417
square
#304614 #144643 #2A1446 #461417
split-complementary
#304614 #141746 #431446
monochromatic
#101807 #101807 #304614 #517622 #71A52F

Accessibility & contrast

On white

10.44
#304614 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#304614 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304614
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304614#FFFFFF#000000##FFFFFF
##3046141.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49410E
Deuteranopia (green-blind)
#463F18
Tritanopia (blue-blind)
#31433C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #304614;
/* rgb */ color: rgb(48, 70, 20);
/* oklch */ color: oklch(36.4% 0.079 129.8);
Tailwind
colors: {
  custom: {
    50: '#6a7954',
    500: '#304614',
    950: '#000000',
  },
}
SCSS
$custom: #304614;
$custom-light: #6a7954;
$custom-dark: #000000;
JSON
{
  "hex": "#304614",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 20
  },
  "hsl": {
    "h": 86.4,
    "s": 55.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36372,
    "c": 0.0794,
    "h": 129.8
  },
  "luminance": 0.05059
}

Semantic roles & 50–950 ramp

primary
#304614
secondary
#57387E
accent
#49DF8B
background
#F6F7F4
surface
#EBEDE8
border
#C6C8C4
text
#070903
muted
#7A7B78

Preview Lab

Preview with #304614

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

Preview Lab → · Contrast checker → · Palette generator →

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