#306C11#306C11

#306C11 is a mid, vivid yellow-green. Relative luminance 0.114; OKLCH L 47.3% C 0.135 H 137.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#306C11
RGBrgb(48, 108, 17)
HSLhsl(100, 73%, 25%)
HSVhsv(100, 84%, 42%)
CMYKcmyk(55.6%, 0%, 84.3%, 57.6%)
CIE-LABlab(40.24, -36.03, 41.06)
CIE-LCHlch(40.24, 54.63, 131.27°)
OKLaboklab(47.29% -0.0999 0.0909)
OKLCHoklch(47.29% 0.135 137.7)
XYZxyz(6.6824, 11.3935, 2.3772)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306C11 #4D116C
analogous
#5E6C11 #306C11 #116C1F
triadic
#306C11 #11306C #6C1130
tetradic
#306C11 #115E6C #4D116C #6C1F11
square
#306C11 #115E6C #4D116C #6C1F11
split-complementary
#306C11 #1F116C #6C115E
monochromatic
#0C1A04 #183709 #306C11 #48A119 #5FD622

Accessibility & contrast

On white

6.40
#306C11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#306C11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306C11
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306C11#FFFFFF#000000##FFFFFF
##306C111.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#685D1C
Tritanopia (blue-blind)
#2B685B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #306c11;
/* rgb */ color: rgb(48, 108, 17);
/* oklch */ color: oklch(47.3% 0.135 137.7);
Tailwind
colors: {
  custom: {
    50: '#709758',
    500: '#306c11',
    950: '#000000',
  },
}
SCSS
$custom: #306c11;
$custom-light: #709758;
$custom-dark: #000000;
JSON
{
  "hex": "#306c11",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 17
  },
  "hsl": {
    "h": 99.56,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47287,
    "c": 0.13504,
    "h": 137.7
  },
  "luminance": 0.11394
}

Semantic roles & 50–950 ramp

primary
#306C11
secondary
#7E35A4
accent
#38EFB1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306C11

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

Preview Lab → · Contrast checker → · Palette generator →

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