#28B245#28B245

#28B245 is a light, vivid green. Relative luminance 0.327; OKLCH L 67.0% C 0.188 H 146.1°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#28B245
RGBrgb(40, 178, 69)
HSLhsl(133, 63%, 43%)
HSVhsv(133, 78%, 70%)
CMYKcmyk(77.5%, 0%, 61.2%, 30.2%)
CIE-LABlab(63.93, -58.11, 44.66)
CIE-LCHlch(63.93, 73.29, 142.46°)
OKLaboklab(66.98% -0.1565 0.105)
OKLCHoklch(66.98% 0.188 146.1)
XYZxyz(17.8683, 32.7195, 11.0028)
Luminance0.3272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B245 #B22895
analogous
#50B228 #28B245 #28B28A
triadic
#28B245 #4528B2 #B24528
tetradic
#28B245 #2850B2 #B22895 #B28A28
square
#28B245 #2850B2 #B22895 #B28A28
split-complementary
#28B245 #8A28B2 #B22850
monochromatic
#124E1E #1D8032 #28B245 #43D561 #75E08B

Accessibility & contrast

On white

2.78
#28B245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#28B245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B245
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B245#FFFFFF#000000##000000
##28B2451.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A139
Deuteranopia (green-blind)
#A5974E
Tritanopia (blue-blind)
#00AE9B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #28b245;
/* rgb */ color: rgb(40, 178, 69);
/* oklch */ color: oklch(67.0% 0.188 146.1);
Tailwind
colors: {
  custom: {
    50: '#79ca7c',
    500: '#28b245',
    950: '#000000',
  },
}
SCSS
$custom: #28b245;
$custom-light: #79ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#28b245",
  "rgb": {
    "r": 40,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 132.609,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66982,
    "c": 0.18846,
    "h": 146.1
  },
  "luminance": 0.32722
}

Semantic roles & 50–950 ramp

primary
#28B245
secondary
#C76FB5
accent
#41C4E6
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #28B245

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

Preview Lab → · Contrast checker → · Palette generator →

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