#304611#304611

#304611 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.3% C 0.082 H 129.3°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#304611
RGBrgb(48, 70, 17)
HSLhsl(85, 61%, 17%)
HSVhsv(85, 76%, 27%)
CMYKcmyk(31.4%, 0%, 75.7%, 72.5%)
CIE-LABlab(26.87, -18.29, 27.98)
CIE-LCHlch(26.87, 33.43, 123.18°)
OKLaboklab(36.34% -0.0519 0.0635)
OKLCHoklch(36.34% 0.082 129.3)
XYZxyz(3.5102, 5.0491, 1.3198)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304611 #271146
analogous
#464211 #304611 #154611
triadic
#304611 #113046 #461130
tetradic
#304611 #114642 #271146 #461115
square
#304611 #114642 #271146 #461115
split-complementary
#304611 #111546 #421146
monochromatic
#111906 #111906 #304611 #52771D #74A829

Accessibility & contrast

On white

10.45
#304611 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#304611 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304611
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304611#FFFFFF#000000##FFFFFF
##3046111.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4109
Deuteranopia (green-blind)
#473F15
Tritanopia (blue-blind)
#32433B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #304611;
/* rgb */ color: rgb(48, 70, 17);
/* oklch */ color: oklch(36.3% 0.082 129.3);
Tailwind
colors: {
  custom: {
    50: '#6a7952',
    500: '#304611',
    950: '#000000',
  },
}
SCSS
$custom: #304611;
$custom-light: #6a7952;
$custom-dark: #000000;
JSON
{
  "hex": "#304611",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 17
  },
  "hsl": {
    "h": 84.906,
    "s": 60.92,
    "l": 17.059
  },
  "oklch": {
    "l": 0.3634,
    "c": 0.08203,
    "h": 129.3
  },
  "luminance": 0.05049
}

Semantic roles & 50–950 ramp

primary
#304611
secondary
#533380
accent
#44E486
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #304611

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

Preview Lab → · Contrast checker → · Palette generator →

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