#304D13#304D13

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

Color values

HEX#304D13
RGBrgb(48, 77, 19)
HSLhsl(90, 60%, 19%)
HSVhsv(90, 75%, 30%)
CMYKcmyk(37.7%, 0%, 75.3%, 69.8%)
CIE-LABlab(29.37, -21.78, 29.64)
CIE-LCHlch(29.37, 36.78, 126.31°)
OKLaboklab(38.38% -0.0612 0.0673)
OKLCHoklch(38.38% 0.091 132.3)
XYZxyz(3.9903, 5.9830, 1.5606)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304D13 #30134D
analogous
#4D4D13 #304D13 #134D13
triadic
#304D13 #13304D #4D1330
tetradic
#304D13 #134D4D #30134D #4D1313
square
#304D13 #134D4D #30134D #4D1313
split-complementary
#304D13 #13134D #4D134D
monochromatic
#0F1906 #111C07 #304D13 #4F7E1F #6DAF2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##304D13#FFFFFF#000000##FFFFFF
##304D131.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)
#51470A
Deuteranopia (green-blind)
#4D4418
Tritanopia (blue-blind)
#314A41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #304d13;
/* rgb */ color: rgb(48, 77, 19);
/* oklch */ color: oklch(38.4% 0.091 132.3);
Tailwind
colors: {
  custom: {
    50: '#6b7f54',
    500: '#304d13',
    950: '#000000',
  },
}
SCSS
$custom: #304d13;
$custom-light: #6b7f54;
$custom-dark: #000000;
JSON
{
  "hex": "#304d13",
  "rgb": {
    "r": 48,
    "g": 77,
    "b": 19
  },
  "hsl": {
    "h": 90,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38376,
    "c": 0.09102,
    "h": 132.3
  },
  "luminance": 0.05983
}

Semantic roles & 50–950 ramp

primary
#304D13
secondary
#5E3686
accent
#44E494
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #304D13

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

Preview Lab → · Contrast checker → · Palette generator →

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