#304C13#304C13

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

Color values

HEX#304C13
RGBrgb(48, 76, 19)
HSLhsl(89, 60%, 19%)
HSVhsv(89, 75%, 30%)
CMYKcmyk(36.8%, 0%, 75%, 70.2%)
CIE-LABlab(29.02, -21.27, 29.27)
CIE-LCHlch(29.02, 36.18, 126.00°)
OKLaboklab(38.09% -0.0598 0.0666)
OKLCHoklch(38.09% 0.09 132)
XYZxyz(3.9209, 5.8441, 1.5374)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304C13 #2F134C
analogous
#4C4B13 #304C13 #134C13
triadic
#304C13 #13304C #4C1330
tetradic
#304C13 #134C4B #2F134C #4C1313
square
#304C13 #134C4B #2F134C #4C1313
split-complementary
#304C13 #13134C #4B134C
monochromatic
#0F1806 #111B07 #304C13 #4F7D1F #6EAE2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##304C13#FFFFFF#000000##FFFFFF
##304C131.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)
#50460B
Deuteranopia (green-blind)
#4C4418
Tritanopia (blue-blind)
#314941
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #304c13;
/* rgb */ color: rgb(48, 76, 19);
/* oklch */ color: oklch(38.1% 0.090 132.0);
Tailwind
colors: {
  custom: {
    50: '#6b7e54',
    500: '#304c13',
    950: '#000000',
  },
}
SCSS
$custom: #304c13;
$custom-light: #6b7e54;
$custom-dark: #000000;
JSON
{
  "hex": "#304c13",
  "rgb": {
    "r": 48,
    "g": 76,
    "b": 19
  },
  "hsl": {
    "h": 89.474,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38088,
    "c": 0.08951,
    "h": 132
  },
  "luminance": 0.05844
}

Semantic roles & 50–950 ramp

primary
#304C13
secondary
#5D3685
accent
#45E393
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #304C13

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

Preview Lab → · Contrast checker → · Palette generator →

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