#28A238#28A238

#28A238 is a light, vivid green. Relative luminance 0.266; OKLCH L 62.5% C 0.179 H 144.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#28A238
RGBrgb(40, 162, 56)
HSLhsl(128, 60%, 40%)
HSVhsv(128, 75%, 64%)
CMYKcmyk(75.3%, 0%, 65.4%, 36.5%)
CIE-LABlab(58.58, -54.25, 44.45)
CIE-LCHlch(58.58, 70.13, 140.67°)
OKLaboklab(62.5% -0.1465 0.1033)
OKLCHoklch(62.5% 0.179 144.8)
XYZxyz(14.5082, 26.5756, 8.1056)
Luminance0.2658 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A238 #A22892
analogous
#55A228 #28A238 #28A275
triadic
#28A238 #3828A2 #A23828
tetradic
#28A238 #2855A2 #A22892 #A27528
square
#28A238 #2855A2 #A22892 #A27528
split-complementary
#28A238 #7528A2 #A22855
monochromatic
#104016 #1C7127 #28A238 #39CE4D #6ADA79

Accessibility & contrast

On white

3.33
#28A238 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#28A238 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A238
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A238#FFFFFF#000000##000000
##28A2381.003.336.326.32
#FFFFFF3.331.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5932B
Deuteranopia (green-blind)
#978941
Tritanopia (blue-blind)
#009E8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #28a238;
/* rgb */ color: rgb(40, 162, 56);
/* oklch */ color: oklch(62.5% 0.179 144.8);
Tailwind
colors: {
  custom: {
    50: '#76bf73',
    500: '#28a238',
    950: '#000000',
  },
}
SCSS
$custom: #28a238;
$custom-light: #76bf73;
$custom-dark: #000000;
JSON
{
  "hex": "#28a238",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 127.869,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.625,
    "c": 0.17926,
    "h": 144.8
  },
  "luminance": 0.26577
}

Semantic roles & 50–950 ramp

primary
#28A238
secondary
#C165B5
accent
#44CFE4
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #28A238

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

Preview Lab → · Contrast checker → · Palette generator →

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