#304C11#304C11

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

Color values

HEX#304C11
RGBrgb(48, 76, 17)
HSLhsl(88, 63%, 18%)
HSVhsv(88, 78%, 30%)
CMYKcmyk(36.8%, 0%, 77.6%, 70.2%)
CIE-LABlab(29.00, -21.44, 30.16)
CIE-LCHlch(29.00, 37.01, 125.40°)
OKLaboklab(38.07% -0.0605 0.0681)
OKLCHoklch(38.07% 0.091 131.6)
XYZxyz(3.9045, 5.8376, 1.4513)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304C11 #2D114C
analogous
#4C4A11 #304C11 #124C11
triadic
#304C11 #11304C #4C1130
tetradic
#304C11 #114C4A #2D114C #4C1112
square
#304C11 #114C4A #2D114C #4C1112
split-complementary
#304C11 #11124C #4A114C
monochromatic
#101906 #101A06 #304C11 #507E1C #6FB027

Accessibility & contrast

On white

9.69
#304C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #304C11
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304C11#FFFFFF#000000##FFFFFF
##304C111.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504608
Deuteranopia (green-blind)
#4C4416
Tritanopia (blue-blind)
#314940
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #304c11;
/* rgb */ color: rgb(48, 76, 17);
/* oklch */ color: oklch(38.1% 0.091 131.6);
Tailwind
colors: {
  custom: {
    50: '#6b7e53',
    500: '#304c11',
    950: '#000000',
  },
}
SCSS
$custom: #304c11;
$custom-light: #6b7e53;
$custom-dark: #000000;
JSON
{
  "hex": "#304c11",
  "rgb": {
    "r": 48,
    "g": 76,
    "b": 17
  },
  "hsl": {
    "h": 88.475,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38069,
    "c": 0.09109,
    "h": 131.6
  },
  "luminance": 0.05838
}

Semantic roles & 50–950 ramp

primary
#304C11
secondary
#5A3385
accent
#41E690
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #304C11

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

Preview Lab → · Contrast checker → · Palette generator →

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