#304C14#304C14

#304C14 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.1% C 0.089 H 132.1°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#304C14
RGBrgb(48, 76, 20)
HSLhsl(90, 58%, 19%)
HSVhsv(90, 74%, 30%)
CMYKcmyk(36.8%, 0%, 73.7%, 70.2%)
CIE-LABlab(29.02, -21.18, 28.81)
CIE-LCHlch(29.02, 35.76, 126.32°)
OKLaboklab(38.1% -0.0595 0.0658)
OKLCHoklch(38.1% 0.089 132.1)
XYZxyz(3.9296, 5.8476, 1.5833)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304C14 #30144C
analogous
#4C4C14 #304C14 #144C14
triadic
#304C14 #14304C #4C1430
tetradic
#304C14 #144C4C #30144C #4C1414
square
#304C14 #144C4C #30144C #4C1414
split-complementary
#304C14 #14144C #4C144C
monochromatic
#0F1806 #111C07 #304C14 #4F7C21 #6DAD2E

Accessibility & contrast

On white

9.68
#304C14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#304C14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304C14
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304C14#FFFFFF#000000##FFFFFF
##304C141.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F460C
Deuteranopia (green-blind)
#4C4419
Tritanopia (blue-blind)
#314941
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #304c14;
/* rgb */ color: rgb(48, 76, 20);
/* oklch */ color: oklch(38.1% 0.089 132.1);
Tailwind
colors: {
  custom: {
    50: '#6b7e55',
    500: '#304c14',
    950: '#000000',
  },
}
SCSS
$custom: #304c14;
$custom-light: #6b7e55;
$custom-dark: #000000;
JSON
{
  "hex": "#304c14",
  "rgb": {
    "r": 48,
    "g": 76,
    "b": 20
  },
  "hsl": {
    "h": 90,
    "s": 58.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38098,
    "c": 0.08868,
    "h": 132.1
  },
  "luminance": 0.05848
}

Semantic roles & 50–950 ramp

primary
#304C14
secondary
#5E3884
accent
#46E294
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #304C14

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

Preview Lab → · Contrast checker → · Palette generator →

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