#308E17#308E17

#308E17 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.173 H 140.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#308E17
RGBrgb(48, 142, 23)
HSLhsl(107, 72%, 32%)
HSVhsv(107, 84%, 56%)
CMYKcmyk(66.2%, 0%, 83.8%, 44.3%)
CIE-LABlab(51.88, -48.57, 50.02)
CIE-LCHlch(51.88, 69.72, 134.16°)
OKLaboklab(56.92% -0.1332 0.1106)
OKLCHoklch(56.92% 0.173 140.3)
XYZxyz(11.0460, 20.0351, 4.0955)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E17 #75178E
analogous
#6C8E17 #308E17 #178E3A
triadic
#308E17 #17308E #8E1730
tetradic
#308E17 #176C8E #75178E #8E3A17
square
#308E17 #176C8E #75178E #8E3A17
split-complementary
#308E17 #3A178E #8E176C
monochromatic
#0C2506 #1E590E #308E17 #42C320 #61E03F

Accessibility & contrast

On white

4.19
#308E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#308E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308E17
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308E17#FFFFFF#000000##000000
##308E171.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#208979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308e17;
/* rgb */ color: rgb(48, 142, 23);
/* oklch */ color: oklch(56.9% 0.173 140.3);
Tailwind
colors: {
  custom: {
    50: '#76b060',
    500: '#308e17',
    950: '#000000',
  },
}
SCSS
$custom: #308e17;
$custom-light: #76b060;
$custom-dark: #000000;
JSON
{
  "hex": "#308e17",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 107.395,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56921,
    "c": 0.17313,
    "h": 140.3
  },
  "luminance": 0.20036
}

Semantic roles & 50–950 ramp

primary
#308E17
secondary
#A540C0
accent
#39EFC9
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #308E17

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

Preview Lab → · Contrast checker → · Palette generator →

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