#304E15#304E15

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

Color values

HEX#304E15
RGBrgb(48, 78, 21)
HSLhsl(92, 58%, 19%)
HSVhsv(92, 73%, 31%)
CMYKcmyk(38.5%, 0%, 73.1%, 69.4%)
CIE-LABlab(29.74, -22.11, 29.09)
CIE-LCHlch(29.74, 36.54, 127.23°)
OKLaboklab(38.69% -0.0619 0.0665)
OKLCHoklch(38.69% 0.091 133)
XYZxyz(4.0786, 6.1311, 1.6778)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304E15 #33154E
analogous
#4D4E15 #304E15 #154E17
triadic
#304E15 #15304E #4E1530
tetradic
#304E15 #154D4E #33154E #4E1715
square
#304E15 #154D4E #33154E #4E1715
split-complementary
#304E15 #17154E #4E154D
monochromatic
#0F1806 #121E08 #304E15 #4E7E22 #6BAE2F

Accessibility & contrast

On white

9.43
#304E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #304E15
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304E15#FFFFFF#000000##FFFFFF
##304E151.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #304e15;
/* rgb */ color: rgb(48, 78, 21);
/* oklch */ color: oklch(38.7% 0.091 133.0);
Tailwind
colors: {
  custom: {
    50: '#6b8056',
    500: '#304e15',
    950: '#000000',
  },
}
SCSS
$custom: #304e15;
$custom-light: #6b8056;
$custom-dark: #000000;
JSON
{
  "hex": "#304e15",
  "rgb": {
    "r": 48,
    "g": 78,
    "b": 21
  },
  "hsl": {
    "h": 91.579,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38685,
    "c": 0.09088,
    "h": 133
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

primary
#304E15
secondary
#613986
accent
#47E198
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #304E15

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

Preview Lab → · Contrast checker → · Palette generator →

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