#305A11#305A11

#305A11 is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.1% C 0.111 H 135.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#305A11
RGBrgb(48, 90, 17)
HSLhsl(95, 68%, 21%)
HSVhsv(95, 81%, 35%)
CMYKcmyk(46.7%, 0%, 81.1%, 64.7%)
CIE-LABlab(33.94, -28.22, 35.08)
CIE-LCHlch(33.94, 45.02, 128.82°)
OKLaboklab(42.11% -0.0789 0.0784)
OKLCHoklch(42.11% 0.111 135.2)
XYZxyz(4.9762, 7.9809, 1.8085)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305A11 #3B115A
analogous
#545A11 #305A11 #115A17
triadic
#305A11 #11305A #5A1130
tetradic
#305A11 #11545A #3B115A #5A1711
square
#305A11 #11545A #3B115A #5A1711
split-complementary
#305A11 #17115A #5A1154
monochromatic
#0E1A05 #152707 #305A11 #4B8D1B #67C124

Accessibility & contrast

On white

8.09
#305A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#305A11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305A11
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305A11#FFFFFF#000000##FFFFFF
##305A111.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5203
Deuteranopia (green-blind)
#584F19
Tritanopia (blue-blind)
#2F564C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #305a11;
/* rgb */ color: rgb(48, 90, 17);
/* oklch */ color: oklch(42.1% 0.111 135.2);
Tailwind
colors: {
  custom: {
    50: '#6d8955',
    500: '#305a11',
    950: '#000000',
  },
}
SCSS
$custom: #305a11;
$custom-light: #6d8955;
$custom-dark: #000000;
JSON
{
  "hex": "#305a11",
  "rgb": {
    "r": 48,
    "g": 90,
    "b": 17
  },
  "hsl": {
    "h": 94.521,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42112,
    "c": 0.1112,
    "h": 135.2
  },
  "luminance": 0.07981
}

Semantic roles & 50–950 ramp

primary
#305A11
secondary
#6B3493
accent
#3DEBA1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #305A11

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

Preview Lab → · Contrast checker → · Palette generator →

#305A11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva