#305D11#305D11

#305D11 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 43.0% C 0.115 H 135.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#305D11
RGBrgb(48, 93, 17)
HSLhsl(96, 69%, 22%)
HSVhsv(96, 82%, 36%)
CMYKcmyk(48.4%, 0%, 81.7%, 63.5%)
CIE-LABlab(35.00, -29.59, 36.10)
CIE-LCHlch(35.00, 46.68, 129.34°)
OKLaboklab(42.98% -0.0825 0.0805)
OKLCHoklch(42.98% 0.115 135.7)
XYZxyz(5.2343, 8.4972, 1.8945)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305D11 #3E115D
analogous
#565D11 #305D11 #115D18
triadic
#305D11 #11305D #5D1130
tetradic
#305D11 #11565D #3E115D #5D1811
square
#305D11 #11565D #3E115D #5D1811
split-complementary
#305D11 #18115D #5D1156
monochromatic
#0D1A05 #152908 #305D11 #4B911A #65C424

Accessibility & contrast

On white

7.78
#305D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#305D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305D11
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305D11#FFFFFF#000000##FFFFFF
##305D111.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615502
Deuteranopia (green-blind)
#5B5119
Tritanopia (blue-blind)
#2E594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #305d11;
/* rgb */ color: rgb(48, 93, 17);
/* oklch */ color: oklch(43.0% 0.115 135.7);
Tailwind
colors: {
  custom: {
    50: '#6d8b56',
    500: '#305d11',
    950: '#000000',
  },
}
SCSS
$custom: #305d11;
$custom-light: #6d8b56;
$custom-dark: #000000;
JSON
{
  "hex": "#305d11",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 17
  },
  "hsl": {
    "h": 95.526,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42977,
    "c": 0.11532,
    "h": 135.7
  },
  "luminance": 0.08498
}

Semantic roles & 50–950 ramp

primary
#305D11
secondary
#6E3496
accent
#3CECA4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #305D11

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

Preview Lab → · Contrast checker → · Palette generator →

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