#304D14#304D14

#304D14 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.4% C 0.090 H 132.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#304D14
RGBrgb(48, 77, 20)
HSLhsl(91, 59%, 19%)
HSVhsv(91, 74%, 30%)
CMYKcmyk(37.7%, 0%, 74%, 69.8%)
CIE-LABlab(29.38, -21.69, 29.19)
CIE-LCHlch(29.38, 36.36, 126.62°)
OKLaboklab(38.39% -0.0609 0.0665)
OKLCHoklch(38.39% 0.09 132.5)
XYZxyz(3.9990, 5.9865, 1.6065)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304D14 #31144D
analogous
#4D4D14 #304D14 #144D15
triadic
#304D14 #14304D #4D1430
tetradic
#304D14 #144D4D #31144D #4D1514
square
#304D14 #144D4D #31144D #4D1514
split-complementary
#304D14 #15144D #4D144D
monochromatic
#0F1806 #121C07 #304D14 #4E7E21 #6DAE2D

Accessibility & contrast

On white

9.56
#304D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#304D14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304D14
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304D14#FFFFFF#000000##FFFFFF
##304D141.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50470C
Deuteranopia (green-blind)
#4C4419
Tritanopia (blue-blind)
#314A41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #304d14;
/* rgb */ color: rgb(48, 77, 20);
/* oklch */ color: oklch(38.4% 0.090 132.5);
Tailwind
colors: {
  custom: {
    50: '#6b7f55',
    500: '#304d14',
    950: '#000000',
  },
}
SCSS
$custom: #304d14;
$custom-light: #6b7f55;
$custom-dark: #000000;
JSON
{
  "hex": "#304d14",
  "rgb": {
    "r": 48,
    "g": 77,
    "b": 20
  },
  "hsl": {
    "h": 90.526,
    "s": 58.763,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38386,
    "c": 0.0902,
    "h": 132.5
  },
  "luminance": 0.05987
}

Semantic roles & 50–950 ramp

primary
#304D14
secondary
#5F3885
accent
#46E295
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #304D14

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

Preview Lab → · Contrast checker → · Palette generator →

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