#304B19#304B19

#304B19 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.9% C 0.083 H 132.9°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#304B19
RGBrgb(48, 75, 25)
HSLhsl(92, 50%, 20%)
HSVhsv(92, 67%, 29%)
CMYKcmyk(36%, 0%, 66.7%, 70.6%)
CIE-LABlab(28.72, -20.16, 25.97)
CIE-LCHlch(28.72, 32.88, 127.82°)
OKLaboklab(37.87% -0.0562 0.0604)
OKLCHoklch(37.87% 0.083 132.9)
XYZxyz(3.9104, 5.7306, 1.8196)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304B19 #34194B
analogous
#494B19 #304B19 #194B1B
triadic
#304B19 #19304B #4B1930
tetradic
#304B19 #19494B #34194B #4B1B19
square
#304B19 #19494B #34194B #4B1B19
split-complementary
#304B19 #1B194B #4B1949
monochromatic
#0F1708 #131D0A #304B19 #4D7928 #6BA738

Accessibility & contrast

On white

9.78
#304B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#304B19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304B19
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304B19#FFFFFF#000000##FFFFFF
##304B191.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4513
Deuteranopia (green-blind)
#4A431D
Tritanopia (blue-blind)
#304840
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #304b19;
/* rgb */ color: rgb(48, 75, 25);
/* oklch */ color: oklch(37.9% 0.083 132.9);
Tailwind
colors: {
  custom: {
    50: '#6a7d58',
    500: '#304b19',
    950: '#000000',
  },
}
SCSS
$custom: #304b19;
$custom-light: #6a7d58;
$custom-dark: #000000;
JSON
{
  "hex": "#304b19",
  "rgb": {
    "r": 48,
    "g": 75,
    "b": 25
  },
  "hsl": {
    "h": 92.4,
    "s": 50,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37868,
    "c": 0.08256,
    "h": 132.9
  },
  "luminance": 0.05731
}

Semantic roles & 50–950 ramp

primary
#304B19
secondary
#633E81
accent
#4EDA99
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #304B19

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

Preview Lab → · Contrast checker → · Palette generator →

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