#306F17#306F17

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

Color values

HEX#306F17
RGBrgb(48, 111, 23)
HSLhsl(103, 66%, 26%)
HSVhsv(103, 79%, 44%)
CMYKcmyk(56.8%, 0%, 79.3%, 56.5%)
CIE-LABlab(41.31, -36.86, 40.01)
CIE-LCHlch(41.31, 54.41, 132.65°)
OKLaboklab(48.18% -0.1017 0.0897)
OKLCHoklch(48.18% 0.136 138.6)
XYZxyz(7.0578, 12.0586, 2.7661)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F17 #56176F
analogous
#5C6F17 #306F17 #176F2A
triadic
#306F17 #17306F #6F1730
tetradic
#306F17 #175C6F #56176F #6F2A17
square
#306F17 #175C6F #56176F #6F2A17
split-complementary
#306F17 #2A176F #6F175C
monochromatic
#0B1905 #1A3C0C #306F17 #46A222 #5CD32D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306F17#FFFFFF#000000##FFFFFF
##306F171.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)
#736504
Deuteranopia (green-blind)
#6B5F20
Tritanopia (blue-blind)
#2A6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306f17;
/* rgb */ color: rgb(48, 111, 23);
/* oklch */ color: oklch(48.2% 0.136 138.6);
Tailwind
colors: {
  custom: {
    50: '#70995b',
    500: '#306f17',
    950: '#000000',
  },
}
SCSS
$custom: #306f17;
$custom-light: #70995b;
$custom-dark: #000000;
JSON
{
  "hex": "#306f17",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 102.955,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48183,
    "c": 0.1356,
    "h": 138.6
  },
  "luminance": 0.12059
}

Semantic roles & 50–950 ramp

primary
#306F17
secondary
#873DA5
accent
#3FE9B8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #306F17

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

Preview Lab → · Contrast checker → · Palette generator →

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