#304C15#304C15

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

Color values

HEX#304C15
RGBrgb(48, 76, 21)
HSLhsl(91, 57%, 19%)
HSVhsv(91, 72%, 30%)
CMYKcmyk(36.8%, 0%, 72.4%, 70.2%)
CIE-LABlab(29.03, -21.09, 28.34)
CIE-LCHlch(29.03, 35.33, 126.65°)
OKLaboklab(38.11% -0.0592 0.0649)
OKLCHoklch(38.11% 0.088 132.3)
XYZxyz(3.9387, 5.8513, 1.6312)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304C15 #31154C
analogous
#4C4C15 #304C15 #154C16
triadic
#304C15 #15304C #4C1530
tetradic
#304C15 #154C4C #31154C #4C1615
square
#304C15 #154C4C #31154C #4C1615
split-complementary
#304C15 #16154C #4C154C
monochromatic
#0F1807 #121C08 #304C15 #4E7C22 #6DAC2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##304C15#FFFFFF#000000##FFFFFF
##304C151.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)
#4F460E
Deuteranopia (green-blind)
#4C4419
Tritanopia (blue-blind)
#314941
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #304c15;
/* rgb */ color: rgb(48, 76, 21);
/* oklch */ color: oklch(38.1% 0.088 132.3);
Tailwind
colors: {
  custom: {
    50: '#6b7e55',
    500: '#304c15',
    950: '#000000',
  },
}
SCSS
$custom: #304c15;
$custom-light: #6b7e55;
$custom-dark: #000000;
JSON
{
  "hex": "#304c15",
  "rgb": {
    "r": 48,
    "g": 76,
    "b": 21
  },
  "hsl": {
    "h": 90.545,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38109,
    "c": 0.08782,
    "h": 132.3
  },
  "luminance": 0.05851
}

Semantic roles & 50–950 ramp

primary
#304C15
secondary
#5F3984
accent
#48E095
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #304C15

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

Preview Lab → · Contrast checker → · Palette generator →

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