#305C11#305C11

#305C11 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.7% C 0.114 H 135.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#305C11
RGBrgb(48, 92, 17)
HSLhsl(95, 69%, 21%)
HSVhsv(95, 82%, 36%)
CMYKcmyk(47.8%, 0%, 81.5%, 63.9%)
CIE-LABlab(34.65, -29.14, 35.76)
CIE-LCHlch(34.65, 46.13, 129.17°)
OKLaboklab(42.69% -0.0813 0.0798)
OKLCHoklch(42.69% 0.114 135.5)
XYZxyz(5.1471, 8.3228, 1.8655)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305C11 #3D115C
analogous
#565C11 #305C11 #115C18
triadic
#305C11 #11305C #5C1130
tetradic
#305C11 #11565C #3D115C #5C1811
square
#305C11 #11565C #3D115C #5C1811
split-complementary
#305C11 #18115C #5C1156
monochromatic
#0D1A05 #152807 #305C11 #4B901B #66C324

Accessibility & contrast

On white

7.88
#305C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#305C11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305C11
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305C11#FFFFFF#000000##FFFFFF
##305C111.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605402
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#2F584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #305c11;
/* rgb */ color: rgb(48, 92, 17);
/* oklch */ color: oklch(42.7% 0.114 135.5);
Tailwind
colors: {
  custom: {
    50: '#6d8a55',
    500: '#305c11',
    950: '#000000',
  },
}
SCSS
$custom: #305c11;
$custom-light: #6d8a55;
$custom-dark: #000000;
JSON
{
  "hex": "#305c11",
  "rgb": {
    "r": 48,
    "g": 92,
    "b": 17
  },
  "hsl": {
    "h": 95.2,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42689,
    "c": 0.11396,
    "h": 135.5
  },
  "luminance": 0.08323
}

Semantic roles & 50–950 ramp

primary
#305C11
secondary
#6D3495
accent
#3CECA3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #305C11

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

Preview Lab → · Contrast checker → · Palette generator →

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