#308D28#308D28

#308D28 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.163 H 142.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#308D28
RGBrgb(48, 141, 40)
HSLhsl(115, 56%, 35%)
HSVhsv(115, 72%, 55%)
CMYKcmyk(66%, 0%, 71.6%, 44.7%)
CIE-LABlab(51.64, -46.98, 43.84)
CIE-LCHlch(51.64, 64.26, 136.98°)
OKLaboklab(56.76% -0.128 0.1001)
OKLCHoklch(56.76% 0.163 142)
XYZxyz(11.1262, 19.8302, 5.2483)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D28 #85288D
analogous
#628D28 #308D28 #288D53
triadic
#308D28 #28308D #8D2830
tetradic
#308D28 #28628D #85288D #8D5328
square
#308D28 #28628D #85288D #8D5328
split-complementary
#308D28 #53288D #8D2862
monochromatic
#102E0D #205D1A #308D28 #40BD36 #67D15E

Accessibility & contrast

On white

4.23
#308D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#308D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D28
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D28#FFFFFF#000000##000000
##308D281.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#908018
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#1E8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d28;
/* rgb */ color: rgb(48, 141, 40);
/* oklch */ color: oklch(56.8% 0.163 142.0);
Tailwind
colors: {
  custom: {
    50: '#75af68',
    500: '#308d28',
    950: '#000000',
  },
}
SCSS
$custom: #308d28;
$custom-light: #75af68;
$custom-dark: #000000;
JSON
{
  "hex": "#308d28",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 115.248,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56761,
    "c": 0.1625,
    "h": 142
  },
  "luminance": 0.19831
}

Semantic roles & 50–950 ramp

primary
#308D28
secondary
#AF5AB7
accent
#49DFD3
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308D28

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

Preview Lab → · Contrast checker → · Palette generator →

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