#304414#304414

#304414 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.8% C 0.076 H 128.9°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#304414
RGBrgb(48, 68, 20)
HSLhsl(85, 55%, 17%)
HSVhsv(85, 71%, 27%)
CMYKcmyk(29.4%, 0%, 70.6%, 73.3%)
CIE-LABlab(26.20, -16.93, 25.77)
CIE-LCHlch(26.20, 30.84, 123.30°)
OKLaboklab(35.8% -0.0479 0.0593)
OKLCHoklch(35.8% 0.076 128.9)
XYZxyz(3.4123, 4.8131, 1.4109)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304414 #281444
analogous
#444014 #304414 #184414
triadic
#304414 #143044 #441430
tetradic
#304414 #144440 #281444 #441418
square
#304414 #144440 #281444 #441418
split-complementary
#304414 #141844 #401444
monochromatic
#111807 #111807 #304414 #517322 #73A330

Accessibility & contrast

On white

10.70
#304414 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#304414 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304414
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304414#FFFFFF#000000##FFFFFF
##3044141.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0E
Deuteranopia (green-blind)
#453E18
Tritanopia (blue-blind)
#32413A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #304414;
/* rgb */ color: rgb(48, 68, 20);
/* oklch */ color: oklch(35.8% 0.076 128.9);
Tailwind
colors: {
  custom: {
    50: '#6a7854',
    500: '#304414',
    950: '#000000',
  },
}
SCSS
$custom: #304414;
$custom-light: #6a7854;
$custom-dark: #000000;
JSON
{
  "hex": "#304414",
  "rgb": {
    "r": 48,
    "g": 68,
    "b": 20
  },
  "hsl": {
    "h": 85,
    "s": 54.545,
    "l": 17.255
  },
  "oklch": {
    "l": 0.35798,
    "c": 0.07624,
    "h": 128.9
  },
  "luminance": 0.04813
}

Semantic roles & 50–950 ramp

primary
#304414
secondary
#54387C
accent
#4ADE88
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060903
muted
#7A7B78

Preview Lab

Preview with #304414

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

Preview Lab → · Contrast checker → · Palette generator →

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