#306911#306911

#306911 is a mid, vivid yellow-green. Relative luminance 0.108; OKLCH L 46.4% C 0.131 H 137.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#306911
RGBrgb(48, 105, 17)
HSLhsl(99, 72%, 24%)
HSVhsv(99, 84%, 41%)
CMYKcmyk(54.3%, 0%, 83.8%, 58.8%)
CIE-LABlab(39.19, -34.79, 40.09)
CIE-LCHlch(39.19, 53.08, 130.95°)
OKLaboklab(46.43% -0.0965 0.0889)
OKLCHoklch(46.43% 0.131 137.4)
XYZxyz(6.3715, 10.7715, 2.2736)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306911 #4A1169
analogous
#5C6911 #306911 #11691E
triadic
#306911 #113069 #691130
tetradic
#306911 #115C69 #4A1169 #691E11
square
#306911 #115C69 #4A1169 #691E11
split-complementary
#306911 #1E1169 #69115C
monochromatic
#0C1A04 #183408 #306911 #489E1A #60D222

Accessibility & contrast

On white

6.66
#306911 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#306911 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306911
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306911#FFFFFF#000000##FFFFFF
##3069111.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#655B1B
Tritanopia (blue-blind)
#2C6559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #306911;
/* rgb */ color: rgb(48, 105, 17);
/* oklch */ color: oklch(46.4% 0.131 137.4);
Tailwind
colors: {
  custom: {
    50: '#6f9458',
    500: '#306911',
    950: '#000000',
  },
}
SCSS
$custom: #306911;
$custom-light: #6f9458;
$custom-dark: #000000;
JSON
{
  "hex": "#306911",
  "rgb": {
    "r": 48,
    "g": 105,
    "b": 17
  },
  "hsl": {
    "h": 98.864,
    "s": 72.131,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46427,
    "c": 0.13121,
    "h": 137.4
  },
  "luminance": 0.10772
}

Semantic roles & 50–950 ramp

primary
#306911
secondary
#7B35A1
accent
#39EFAF
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306911

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

Preview Lab → · Contrast checker → · Palette generator →

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