#304A14#304A14

#304A14 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.5% C 0.086 H 131.5°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#304A14
RGBrgb(48, 74, 20)
HSLhsl(89, 57%, 18%)
HSVhsv(89, 73%, 29%)
CMYKcmyk(35.1%, 0%, 73%, 71%)
CIE-LABlab(28.32, -20.14, 28.06)
CIE-LCHlch(28.32, 34.54, 125.67°)
OKLaboklab(37.52% -0.0567 0.0642)
OKLCHoklch(37.52% 0.086 131.5)
XYZxyz(3.7939, 5.5763, 1.5381)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304A14 #2E144A
analogous
#4A4914 #304A14 #154A14
triadic
#304A14 #14304A #4A1430
tetradic
#304A14 #144A49 #2E144A #4A1415
square
#304A14 #144A49 #2E144A #4A1415
split-complementary
#304A14 #14154A #49144A
monochromatic
#101807 #111A07 #304A14 #4F7A21 #6FAA2E

Accessibility & contrast

On white

9.93
#304A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#304A14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304A14
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304A14#FFFFFF#000000##FFFFFF
##304A141.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440D
Deuteranopia (green-blind)
#4A4218
Tritanopia (blue-blind)
#31473F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #304a14;
/* rgb */ color: rgb(48, 74, 20);
/* oklch */ color: oklch(37.5% 0.086 131.5);
Tailwind
colors: {
  custom: {
    50: '#6b7c55',
    500: '#304a14',
    950: '#000000',
  },
}
SCSS
$custom: #304a14;
$custom-light: #6b7c55;
$custom-dark: #000000;
JSON
{
  "hex": "#304a14",
  "rgb": {
    "r": 48,
    "g": 74,
    "b": 20
  },
  "hsl": {
    "h": 88.889,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37522,
    "c": 0.08562,
    "h": 131.5
  },
  "luminance": 0.05576
}

Semantic roles & 50–950 ramp

primary
#304A14
secondary
#5C3882
accent
#47E191
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #304A14

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

Preview Lab → · Contrast checker → · Palette generator →

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