#306D11#306D11

#306D11 is a mid, vivid yellow-green. Relative luminance 0.116; OKLCH L 47.6% C 0.136 H 137.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#306D11
RGBrgb(48, 109, 17)
HSLhsl(100, 73%, 25%)
HSVhsv(100, 84%, 43%)
CMYKcmyk(56%, 0%, 84.4%, 57.3%)
CIE-LABlab(40.58, -36.44, 41.38)
CIE-LCHlch(40.58, 55.14, 131.37°)
OKLaboklab(47.57% -0.101 0.0916)
OKLCHoklch(47.57% 0.136 137.8)
XYZxyz(6.7885, 11.6056, 2.4126)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306D11 #4E116D
analogous
#5E6D11 #306D11 #116D20
triadic
#306D11 #11306D #6D1130
tetradic
#306D11 #115E6D #4E116D #6D2011
square
#306D11 #115E6D #4E116D #6D2011
split-complementary
#306D11 #20116D #6D115E
monochromatic
#0C1A04 #193809 #306D11 #47A219 #5FD722

Accessibility & contrast

On white

6.32
#306D11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#306D11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306D11
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306D11#FFFFFF#000000##FFFFFF
##306D111.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#695E1C
Tritanopia (blue-blind)
#2B695C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #306d11;
/* rgb */ color: rgb(48, 109, 17);
/* oklch */ color: oklch(47.6% 0.136 137.8);
Tailwind
colors: {
  custom: {
    50: '#709758',
    500: '#306d11',
    950: '#000000',
  },
}
SCSS
$custom: #306d11;
$custom-light: #709758;
$custom-dark: #000000;
JSON
{
  "hex": "#306d11",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 17
  },
  "hsl": {
    "h": 99.783,
    "s": 73.016,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47573,
    "c": 0.13631,
    "h": 137.8
  },
  "luminance": 0.11606
}

Semantic roles & 50–950 ramp

primary
#306D11
secondary
#7F35A5
accent
#38F0B2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306D11

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

Preview Lab → · Contrast checker → · Palette generator →

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