#28B451#28B451

#28B451 is a light, vivid green. Relative luminance 0.337; OKLCH L 67.7% C 0.181 H 148.1°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#28B451
RGBrgb(40, 180, 81)
HSLhsl(138, 64%, 43%)
HSVhsv(138, 78%, 71%)
CMYKcmyk(77.8%, 0%, 55%, 29.4%)
CIE-LABlab(64.71, -57.19, 39.92)
CIE-LCHlch(64.71, 69.75, 145.08°)
OKLaboklab(67.67% -0.1537 0.0956)
OKLCHoklch(67.67% 0.181 148.1)
XYZxyz(18.6800, 33.6855, 13.3004)
Luminance0.3369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B451 #B4288B
analogous
#45B428 #28B451 #28B497
triadic
#28B451 #5128B4 #B45128
tetradic
#28B451 #2845B4 #B4288B #B49728
square
#28B451 #2845B4 #B4288B #B49728
split-complementary
#28B451 #9728B4 #B42845
monochromatic
#125024 #1D823A #28B451 #44D56E #76E195

Accessibility & contrast

On white

2.71
#28B451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#28B451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B451
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B451#FFFFFF#000000##000000
##28B4511.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A448
Deuteranopia (green-blind)
#A69959
Tritanopia (blue-blind)
#00B09E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #28b451;
/* rgb */ color: rgb(40, 180, 81);
/* oklch */ color: oklch(67.7% 0.181 148.1);
Tailwind
colors: {
  custom: {
    50: '#79cc84',
    500: '#28b451',
    950: '#000000',
  },
}
SCSS
$custom: #28b451;
$custom-light: #79cc84;
$custom-dark: #000000;
JSON
{
  "hex": "#28b451",
  "rgb": {
    "r": 40,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 137.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67671,
    "c": 0.18102,
    "h": 148.1
  },
  "luminance": 0.33688
}

Semantic roles & 50–950 ramp

primary
#28B451
secondary
#C870AE
accent
#41B6E7
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #28B451

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

Preview Lab → · Contrast checker → · Palette generator →

#28B451 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva