#306A11#306A11

#306A11 is a mid, vivid yellow-green. Relative luminance 0.110; OKLCH L 46.7% C 0.132 H 137.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#306A11
RGBrgb(48, 106, 17)
HSLhsl(99, 72%, 24%)
HSVhsv(99, 84%, 42%)
CMYKcmyk(54.7%, 0%, 84%, 58.4%)
CIE-LABlab(39.54, -35.20, 40.41)
CIE-LCHlch(39.54, 53.60, 131.06°)
OKLaboklab(46.71% -0.0976 0.0896)
OKLCHoklch(46.71% 0.132 137.5)
XYZxyz(6.4739, 10.9764, 2.3077)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306A11 #4B116A
analogous
#5D6A11 #306A11 #116A1F
triadic
#306A11 #11306A #6A1130
tetradic
#306A11 #115D6A #4B116A #6A1F11
square
#306A11 #115D6A #4B116A #6A1F11
split-complementary
#306A11 #1F116A #6A115D
monochromatic
#0C1A04 #183509 #306A11 #489F19 #60D322

Accessibility & contrast

On white

6.57
#306A11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#306A11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306A11
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306A11#FFFFFF#000000##FFFFFF
##306A111.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#665B1B
Tritanopia (blue-blind)
#2C665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #306a11;
/* rgb */ color: rgb(48, 106, 17);
/* oklch */ color: oklch(46.7% 0.132 137.5);
Tailwind
colors: {
  custom: {
    50: '#6f9558',
    500: '#306a11',
    950: '#000000',
  },
}
SCSS
$custom: #306a11;
$custom-light: #6f9558;
$custom-dark: #000000;
JSON
{
  "hex": "#306a11",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 17
  },
  "hsl": {
    "h": 99.101,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46714,
    "c": 0.13249,
    "h": 137.5
  },
  "luminance": 0.10977
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #306A11

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

Preview Lab → · Contrast checker → · Palette generator →

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