#308F20#308F20

#308F20 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.170 H 141.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#308F20
RGBrgb(48, 143, 32)
HSLhsl(111, 63%, 34%)
HSVhsv(111, 78%, 56%)
CMYKcmyk(66.4%, 0%, 77.6%, 43.9%)
CIE-LABlab(52.26, -48.36, 47.51)
CIE-LCHlch(52.26, 67.79, 135.50°)
OKLaboklab(57.25% -0.1322 0.1067)
OKLCHoklch(57.25% 0.17 141.1)
XYZxyz(11.3015, 20.3765, 4.7037)
Luminance0.2038 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F20 #7F208F
analogous
#688F20 #308F20 #208F47
triadic
#308F20 #20308F #8F2030
tetradic
#308F20 #20688F #7F208F #8F4720
square
#308F20 #20688F #7F208F #8F4720
split-complementary
#308F20 #47208F #8F2068
monochromatic
#0E2B0A #1F5D15 #308F20 #41C12B #65D851

Accessibility & contrast

On white

4.14
#308F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#308F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F20
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F20#FFFFFF#000000##000000
##308F201.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938106
Deuteranopia (green-blind)
#877A2C
Tritanopia (blue-blind)
#1F8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308f20;
/* rgb */ color: rgb(48, 143, 32);
/* oklch */ color: oklch(57.3% 0.170 141.1);
Tailwind
colors: {
  custom: {
    50: '#76b164',
    500: '#308f20',
    950: '#000000',
  },
}
SCSS
$custom: #308f20;
$custom-light: #76b164;
$custom-dark: #000000;
JSON
{
  "hex": "#308f20",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 111.351,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57253,
    "c": 0.16984,
    "h": 141.1
  },
  "luminance": 0.20378
}

Semantic roles & 50–950 ramp

primary
#308F20
secondary
#AC4FBB
accent
#41E6CF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #308F20

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

Preview Lab → · Contrast checker → · Palette generator →

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