#304E14#304E14

#304E14 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.7% C 0.092 H 132.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#304E14
RGBrgb(48, 78, 20)
HSLhsl(91, 59%, 19%)
HSVhsv(91, 74%, 31%)
CMYKcmyk(38.5%, 0%, 74.4%, 69.4%)
CIE-LABlab(29.73, -22.20, 29.56)
CIE-LCHlch(29.73, 36.97, 126.91°)
OKLaboklab(38.67% -0.0623 0.0673)
OKLCHoklch(38.67% 0.092 132.8)
XYZxyz(4.0695, 6.1275, 1.6300)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304E14 #32144E
analogous
#4D4E14 #304E14 #144E15
triadic
#304E14 #14304E #4E1430
tetradic
#304E14 #144D4E #32144E #4E1514
square
#304E14 #144D4E #32144E #4E1514
split-complementary
#304E14 #15144E #4E144D
monochromatic
#0F1806 #121D08 #304E14 #4E7F20 #6CAF2D

Accessibility & contrast

On white

9.44
#304E14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#304E14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304E14
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304E14#FFFFFF#000000##FFFFFF
##304E141.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51480C
Deuteranopia (green-blind)
#4D4519
Tritanopia (blue-blind)
#304B42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #304e14;
/* rgb */ color: rgb(48, 78, 20);
/* oklch */ color: oklch(38.7% 0.092 132.8);
Tailwind
colors: {
  custom: {
    50: '#6b8055',
    500: '#304e14',
    950: '#000000',
  },
}
SCSS
$custom: #304e14;
$custom-light: #6b8055;
$custom-dark: #000000;
JSON
{
  "hex": "#304e14",
  "rgb": {
    "r": 48,
    "g": 78,
    "b": 20
  },
  "hsl": {
    "h": 91.034,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38674,
    "c": 0.09171,
    "h": 132.8
  },
  "luminance": 0.06128
}

Semantic roles & 50–950 ramp

primary
#304E14
secondary
#603886
accent
#45E297
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #304E14

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

Preview Lab → · Contrast checker → · Palette generator →

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