#305E11#305E11

#305E11 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.3% C 0.117 H 135.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#305E11
RGBrgb(48, 94, 17)
HSLhsl(96, 69%, 22%)
HSVhsv(96, 82%, 37%)
CMYKcmyk(48.9%, 0%, 81.9%, 63.1%)
CIE-LABlab(35.35, -30.04, 36.44)
CIE-LCHlch(35.35, 47.22, 129.50°)
OKLaboklab(43.27% -0.0838 0.0812)
OKLCHoklch(43.27% 0.117 135.9)
XYZxyz(5.3227, 8.6739, 1.9240)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305E11 #3F115E
analogous
#575E11 #305E11 #115E19
triadic
#305E11 #11305E #5E1130
tetradic
#305E11 #11575E #3F115E #5E1911
square
#305E11 #11575E #3F115E #5E1911
split-complementary
#305E11 #19115E #5E1157
monochromatic
#0D1A05 #162A08 #305E11 #4A921A #65C624

Accessibility & contrast

On white

7.68
#305E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#305E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305E11
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305E11#FFFFFF#000000##FFFFFF
##305E111.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625601
Deuteranopia (green-blind)
#5C5219
Tritanopia (blue-blind)
#2E5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #305e11;
/* rgb */ color: rgb(48, 94, 17);
/* oklch */ color: oklch(43.3% 0.117 135.9);
Tailwind
colors: {
  custom: {
    50: '#6d8c56',
    500: '#305e11',
    950: '#000000',
  },
}
SCSS
$custom: #305e11;
$custom-light: #6d8c56;
$custom-dark: #000000;
JSON
{
  "hex": "#305e11",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 17
  },
  "hsl": {
    "h": 95.844,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43265,
    "c": 0.11668,
    "h": 135.9
  },
  "luminance": 0.08674
}

Semantic roles & 50–950 ramp

primary
#305E11
secondary
#6F3497
accent
#3CECA5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #305E11

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

Preview Lab → · Contrast checker → · Palette generator →

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