#304913#304913

#304913 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.2% C 0.085 H 130.9°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#304913
RGBrgb(48, 73, 19)
HSLhsl(88, 59%, 18%)
HSVhsv(88, 74%, 29%)
CMYKcmyk(34.2%, 0%, 74%, 71.4%)
CIE-LABlab(27.95, -19.71, 28.16)
CIE-LCHlch(27.95, 34.37, 124.99°)
OKLaboklab(37.22% -0.0556 0.0642)
OKLCHoklch(37.22% 0.085 130.9)
XYZxyz(3.7190, 5.4404, 1.4701)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304913 #2C1349
analogous
#494713 #304913 #154913
triadic
#304913 #133049 #491330
tetradic
#304913 #134947 #2C1349 #491315
square
#304913 #134947 #2C1349 #491315
split-complementary
#304913 #131549 #471349
monochromatic
#101806 #101806 #304913 #507A20 #70AA2C

Accessibility & contrast

On white

10.06
#304913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#304913 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304913
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304913#FFFFFF#000000##FFFFFF
##3049131.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D430C
Deuteranopia (green-blind)
#494117
Tritanopia (blue-blind)
#31463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #304913;
/* rgb */ color: rgb(48, 73, 19);
/* oklch */ color: oklch(37.2% 0.085 130.9);
Tailwind
colors: {
  custom: {
    50: '#6b7c54',
    500: '#304913',
    950: '#000000',
  },
}
SCSS
$custom: #304913;
$custom-light: #6b7c54;
$custom-dark: #000000;
JSON
{
  "hex": "#304913",
  "rgb": {
    "r": 48,
    "g": 73,
    "b": 19
  },
  "hsl": {
    "h": 87.778,
    "s": 58.696,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37224,
    "c": 0.08494,
    "h": 130.9
  },
  "luminance": 0.0544
}

Semantic roles & 50–950 ramp

primary
#304913
secondary
#593682
accent
#46E28E
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#070903
muted
#7A7B78

Preview Lab

Preview with #304913

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

Preview Lab → · Contrast checker → · Palette generator →

#304913 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva