#306E17#306E17

#306E17 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.9% C 0.134 H 138.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#306E17
RGBrgb(48, 110, 23)
HSLhsl(103, 65%, 26%)
HSVhsv(103, 79%, 43%)
CMYKcmyk(56.4%, 0%, 79.1%, 56.9%)
CIE-LABlab(40.96, -36.46, 39.68)
CIE-LCHlch(40.96, 53.88, 132.58°)
OKLaboklab(47.9% -0.1006 0.089)
OKLCHoklch(47.9% 0.134 138.5)
XYZxyz(6.9492, 11.8415, 2.7299)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306E17 #55176E
analogous
#5B6E17 #306E17 #176E29
triadic
#306E17 #17306E #6E1730
tetradic
#306E17 #175B6E #55176E #6E2917
square
#306E17 #175B6E #55176E #6E2917
split-complementary
#306E17 #29176E #6E175B
monochromatic
#0B1905 #1A3B0C #306E17 #46A122 #5CD32C

Accessibility & contrast

On white

6.23
#306E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#306E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306E17
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306E17#FFFFFF#000000##FFFFFF
##306E171.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726405
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#2A6A5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306e17;
/* rgb */ color: rgb(48, 110, 23);
/* oklch */ color: oklch(47.9% 0.134 138.5);
Tailwind
colors: {
  custom: {
    50: '#70985b',
    500: '#306e17',
    950: '#000000',
  },
}
SCSS
$custom: #306e17;
$custom-light: #70985b;
$custom-dark: #000000;
JSON
{
  "hex": "#306e17",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 102.759,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47898,
    "c": 0.13431,
    "h": 138.5
  },
  "luminance": 0.11842
}

Semantic roles & 50–950 ramp

primary
#306E17
secondary
#863DA4
accent
#3FE8B8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #306E17

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

Preview Lab → · Contrast checker → · Palette generator →

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