#308D20#308D20

#308D20 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.167 H 141.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#308D20
RGBrgb(48, 141, 32)
HSLhsl(111, 63%, 34%)
HSVhsv(111, 77%, 55%)
CMYKcmyk(66%, 0%, 77.3%, 44.7%)
CIE-LABlab(51.59, -47.64, 46.85)
CIE-LCHlch(51.59, 66.82, 135.48°)
OKLaboklab(56.7% -0.1302 0.1053)
OKLCHoklch(56.7% 0.167 141.1)
XYZxyz(11.0040, 19.7813, 4.6045)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D20 #7D208D
analogous
#678D20 #308D20 #208D47
triadic
#308D20 #20308D #8D2030
tetradic
#308D20 #20678D #7D208D #8D4720
square
#308D20 #20678D #7D208D #8D4720
split-complementary
#308D20 #47208D #8D2067
monochromatic
#0E2909 #1F5B15 #308D20 #41BF2B #64D750

Accessibility & contrast

On white

4.24
#308D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#308D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D20
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D20#FFFFFF#000000##000000
##308D201.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918007
Deuteranopia (green-blind)
#86782C
Tritanopia (blue-blind)
#208878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d20;
/* rgb */ color: rgb(48, 141, 32);
/* oklch */ color: oklch(56.7% 0.167 141.1);
Tailwind
colors: {
  custom: {
    50: '#75af64',
    500: '#308d20',
    950: '#000000',
  },
}
SCSS
$custom: #308d20;
$custom-light: #75af64;
$custom-dark: #000000;
JSON
{
  "hex": "#308d20",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 111.193,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56698,
    "c": 0.16747,
    "h": 141.1
  },
  "luminance": 0.19782
}

Semantic roles & 50–950 ramp

primary
#308D20
secondary
#AB4EBA
accent
#42E6CE
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308D20

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

Preview Lab → · Contrast checker → · Palette generator →

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