#304F19#304F19

#304F19 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.0% C 0.089 H 134.1°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#304F19
RGBrgb(48, 79, 25)
HSLhsl(94, 52%, 20%)
HSVhsv(94, 68%, 31%)
CMYKcmyk(39.2%, 0%, 68.4%, 69%)
CIE-LABlab(30.13, -22.22, 27.55)
CIE-LCHlch(30.13, 35.39, 128.89°)
OKLaboklab(39.02% -0.0619 0.0638)
OKLCHoklch(39.02% 0.089 134.1)
XYZxyz(4.1903, 6.2903, 1.9129)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304F19 #38194F
analogous
#4B4F19 #304F19 #194F1D
triadic
#304F19 #19304F #4F1930
tetradic
#304F19 #194B4F #38194F #4F1D19
square
#304F19 #194B4F #38194F #4F1D19
split-complementary
#304F19 #1D194F #4F194B
monochromatic
#0E1707 #14210A #304F19 #4C7D28 #68AC36

Accessibility & contrast

On white

9.30
#304F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#304F19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304F19
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304F19#FFFFFF#000000##FFFFFF
##304F191.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524913
Deuteranopia (green-blind)
#4E461D
Tritanopia (blue-blind)
#304C44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #304f19;
/* rgb */ color: rgb(48, 79, 25);
/* oklch */ color: oklch(39.0% 0.089 134.1);
Tailwind
colors: {
  custom: {
    50: '#6b8058',
    500: '#304f19',
    950: '#000000',
  },
}
SCSS
$custom: #304f19;
$custom-light: #6b8058;
$custom-dark: #000000;
JSON
{
  "hex": "#304f19",
  "rgb": {
    "r": 48,
    "g": 79,
    "b": 25
  },
  "hsl": {
    "h": 94.444,
    "s": 51.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39018,
    "c": 0.08888,
    "h": 134.1
  },
  "luminance": 0.06291
}

Semantic roles & 50–950 ramp

primary
#304F19
secondary
#673E85
accent
#4CDB9E
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #304F19

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

Preview Lab → · Contrast checker → · Palette generator →

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