#306F14#306F14

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

Color values

HEX#306F14
RGBrgb(48, 111, 20)
HSLhsl(102, 69%, 26%)
HSVhsv(102, 82%, 44%)
CMYKcmyk(56.8%, 0%, 82%, 56.5%)
CIE-LABlab(41.29, -37.07, 41.06)
CIE-LCHlch(41.29, 55.32, 132.07°)
OKLaboklab(48.16% -0.1025 0.0914)
OKLCHoklch(48.16% 0.137 138.3)
XYZxyz(7.0294, 12.0472, 2.6166)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F14 #53146F
analogous
#5D6F14 #306F14 #146F25
triadic
#306F14 #14306F #6F1430
tetradic
#306F14 #145D6F #53146F #6F2514
square
#306F14 #145D6F #53146F #6F2514
split-complementary
#306F14 #25146F #6F145D
monochromatic
#0B1A05 #1A3B0B #306F14 #46A31D #5DD727

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306F14#FFFFFF#000000##FFFFFF
##306F141.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)
#6B5F1E
Tritanopia (blue-blind)
#2B6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306f14;
/* rgb */ color: rgb(48, 111, 20);
/* oklch */ color: oklch(48.2% 0.137 138.3);
Tailwind
colors: {
  custom: {
    50: '#70995a',
    500: '#306f14',
    950: '#000000',
  },
}
SCSS
$custom: #306f14;
$custom-light: #70995a;
$custom-dark: #000000;
JSON
{
  "hex": "#306f14",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 20
  },
  "hsl": {
    "h": 101.538,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48162,
    "c": 0.1373,
    "h": 138.3
  },
  "luminance": 0.12048
}

Semantic roles & 50–950 ramp

primary
#306F14
secondary
#8439A6
accent
#3CECB6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #306F14

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

Preview Lab → · Contrast checker → · Palette generator →

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