#306F15#306F15

#306F15 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.137 H 138.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#306F15
RGBrgb(48, 111, 21)
HSLhsl(102, 68%, 26%)
HSVhsv(102, 81%, 44%)
CMYKcmyk(56.8%, 0%, 81.1%, 56.5%)
CIE-LABlab(41.30, -37.00, 40.72)
CIE-LCHlch(41.30, 55.02, 132.26°)
OKLaboklab(48.17% -0.1022 0.0908)
OKLCHoklch(48.17% 0.137 138.4)
XYZxyz(7.0385, 12.0508, 2.6645)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F15 #54156F
analogous
#5D6F15 #306F15 #156F27
triadic
#306F15 #15306F #6F1530
tetradic
#306F15 #155D6F #54156F #6F2715
square
#306F15 #155D6F #54156F #6F2715
split-complementary
#306F15 #27156F #6F155D
monochromatic
#0B1A05 #1A3C0B #306F15 #46A21F #5DD628

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306F15#FFFFFF#000000##FFFFFF
##306F151.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)
#6B5F1F
Tritanopia (blue-blind)
#2A6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306f15;
/* rgb */ color: rgb(48, 111, 21);
/* oklch */ color: oklch(48.2% 0.137 138.4);
Tailwind
colors: {
  custom: {
    50: '#70995a',
    500: '#306f15',
    950: '#000000',
  },
}
SCSS
$custom: #306f15;
$custom-light: #70995a;
$custom-dark: #000000;
JSON
{
  "hex": "#306f15",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 102,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48169,
    "c": 0.13675,
    "h": 138.4
  },
  "luminance": 0.12051
}

Semantic roles & 50–950 ramp

primary
#306F15
secondary
#853AA5
accent
#3DEBB7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #306F15

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

Preview Lab → · Contrast checker → · Palette generator →

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