#306F11#306F11

#306F11 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.139 H 138.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#306F11
RGBrgb(48, 111, 17)
HSLhsl(100, 73%, 25%)
HSVhsv(100, 85%, 44%)
CMYKcmyk(56.8%, 0%, 84.7%, 56.5%)
CIE-LABlab(41.28, -37.25, 42.02)
CIE-LCHlch(41.28, 56.16, 131.55°)
OKLaboklab(48.14% -0.1031 0.0929)
OKLCHoklch(48.14% 0.139 138)
XYZxyz(7.0043, 12.0372, 2.4845)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F11 #50116F
analogous
#5F6F11 #306F11 #116F21
triadic
#306F11 #11306F #6F1130
tetradic
#306F11 #115F6F #50116F #6F2111
square
#306F11 #115F6F #50116F #6F2111
split-complementary
#306F11 #21116F #6F115F
monochromatic
#0B1B04 #193A09 #306F11 #47A419 #5ED921

Accessibility & contrast

On white

6.16
#306F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#306F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306F11
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306F11#FFFFFF#000000##FFFFFF
##306F111.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B5F1C
Tritanopia (blue-blind)
#2B6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306f11;
/* rgb */ color: rgb(48, 111, 17);
/* oklch */ color: oklch(48.1% 0.139 138.0);
Tailwind
colors: {
  custom: {
    50: '#709959',
    500: '#306f11',
    950: '#000000',
  },
}
SCSS
$custom: #306f11;
$custom-light: #709959;
$custom-dark: #000000;
JSON
{
  "hex": "#306f11",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 100.213,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48144,
    "c": 0.13882,
    "h": 138
  },
  "luminance": 0.12038
}

Semantic roles & 50–950 ramp

primary
#306F11
secondary
#8135A6
accent
#38F0B3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #306F11

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

Preview Lab → · Contrast checker → · Palette generator →

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