#308E15#308E15

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

Color values

HEX#308E15
RGBrgb(48, 142, 21)
HSLhsl(107, 74%, 32%)
HSVhsv(107, 85%, 56%)
CMYKcmyk(66.2%, 0%, 85.2%, 44.3%)
CIE-LABlab(51.87, -48.68, 50.56)
CIE-LCHlch(51.87, 70.18, 133.91°)
OKLaboklab(56.91% -0.1336 0.1114)
OKLCHoklch(56.91% 0.174 140.2)
XYZxyz(11.0268, 20.0274, 3.9939)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E15 #73158E
analogous
#6C8E15 #308E15 #158E37
triadic
#308E15 #15308E #8E1530
tetradic
#308E15 #156C8E #73158E #8E3715
square
#308E15 #156C8E #73158E #8E3715
split-complementary
#308E15 #37158E #8E156C
monochromatic
#0C2305 #1E590D #308E15 #42C31D #61E23B

Accessibility & contrast

On white

4.20
#308E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##308E15#FFFFFF#000000##000000
##308E151.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #308e15;
/* rgb */ color: rgb(48, 142, 21);
/* oklch */ color: oklch(56.9% 0.174 140.2);
Tailwind
colors: {
  custom: {
    50: '#76b05f',
    500: '#308e15',
    950: '#000000',
  },
}
SCSS
$custom: #308e15;
$custom-light: #76b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#308e15",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 106.612,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56911,
    "c": 0.17396,
    "h": 140.2
  },
  "luminance": 0.20029
}

Semantic roles & 50–950 ramp

primary
#308E15
secondary
#A43DC2
accent
#37F1C7
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #308E15

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

Preview Lab → · Contrast checker → · Palette generator →

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