#28A231#28A231

#28A231 is a light, vivid green. Relative luminance 0.265; OKLCH L 62.4% C 0.184 H 143.9°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#28A231
RGBrgb(40, 162, 49)
HSLhsl(124, 60%, 40%)
HSVhsv(124, 75%, 64%)
CMYKcmyk(75.3%, 0%, 69.8%, 36.5%)
CIE-LABlab(58.52, -54.97, 47.36)
CIE-LCHlch(58.52, 72.56, 139.25°)
OKLaboklab(62.43% -0.1488 0.1086)
OKLCHoklch(62.43% 0.184 143.9)
XYZxyz(14.3488, 26.5119, 7.2662)
Luminance0.2651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A231 #A22899
analogous
#5CA228 #28A231 #28A26E
triadic
#28A231 #3128A2 #A23128
tetradic
#28A231 #285CA2 #A22899 #A26E28
square
#28A231 #285CA2 #A22899 #A26E28
split-complementary
#28A231 #6E28A2 #A2285C
monochromatic
#104013 #1C7122 #28A231 #39CE44 #6ADA72

Accessibility & contrast

On white

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

On black

6.30
#28A231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A231
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A231#FFFFFF#000000##000000
##28A2311.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59221
Deuteranopia (green-blind)
#98893C
Tritanopia (blue-blind)
#009D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #28a231;
/* rgb */ color: rgb(40, 162, 49);
/* oklch */ color: oklch(62.4% 0.184 143.9);
Tailwind
colors: {
  custom: {
    50: '#76bf6f',
    500: '#28a231',
    950: '#000000',
  },
}
SCSS
$custom: #28a231;
$custom-light: #76bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#28a231",
  "rgb": {
    "r": 40,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 124.426,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62431,
    "c": 0.18423,
    "h": 143.9
  },
  "luminance": 0.26514
}

Semantic roles & 50–950 ramp

primary
#28A231
secondary
#C165BA
accent
#44D8E4
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #28A231

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

Preview Lab → · Contrast checker → · Palette generator →

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