#306B11#306B11

#306B11 is a mid, vivid yellow-green. Relative luminance 0.112; OKLCH L 47.0% C 0.134 H 137.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#306B11
RGBrgb(48, 107, 17)
HSLhsl(99, 73%, 24%)
HSVhsv(99, 84%, 42%)
CMYKcmyk(55.1%, 0%, 84.1%, 58%)
CIE-LABlab(39.89, -35.62, 40.74)
CIE-LCHlch(39.89, 54.11, 131.17°)
OKLaboklab(47% -0.0988 0.0902)
OKLCHoklch(47% 0.134 137.6)
XYZxyz(6.5776, 11.1837, 2.3423)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306B11 #4C116B
analogous
#5D6B11 #306B11 #116B1F
triadic
#306B11 #11306B #6B1130
tetradic
#306B11 #115D6B #4C116B #6B1F11
square
#306B11 #115D6B #4C116B #6B1F11
split-complementary
#306B11 #1F116B #6B115D
monochromatic
#0C1A04 #183609 #306B11 #48A019 #5FD522

Accessibility & contrast

On white

6.49
#306B11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#306B11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306B11
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306B11#FFFFFF#000000##FFFFFF
##306B111.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#2C675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #306b11;
/* rgb */ color: rgb(48, 107, 17);
/* oklch */ color: oklch(47.0% 0.134 137.6);
Tailwind
colors: {
  custom: {
    50: '#709658',
    500: '#306b11',
    950: '#000000',
  },
}
SCSS
$custom: #306b11;
$custom-light: #709658;
$custom-dark: #000000;
JSON
{
  "hex": "#306b11",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 17
  },
  "hsl": {
    "h": 99.333,
    "s": 72.581,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47,
    "c": 0.13377,
    "h": 137.6
  },
  "luminance": 0.11184
}

Semantic roles & 50–950 ramp

primary
#306B11
secondary
#7D35A3
accent
#39EFB0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306B11

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

Preview Lab → · Contrast checker → · Palette generator →

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