#28AE34#28AE34

#28AE34 is a light, vivid green. Relative luminance 0.310; OKLCH L 65.7% C 0.196 H 144.0°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#28AE34
RGBrgb(40, 174, 52)
HSLhsl(125, 63%, 42%)
HSVhsv(125, 77%, 68%)
CMYKcmyk(77%, 0%, 70.1%, 31.8%)
CIE-LABlab(62.48, -58.63, 50.34)
CIE-LCHlch(62.48, 77.28, 139.35°)
OKLaboklab(65.73% -0.1586 0.1153)
OKLCHoklch(65.73% 0.196 144)
XYZxyz(16.6299, 30.9692, 8.3494)
Luminance0.3097 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AE34 #AE28A2
analogous
#5FAE28 #28AE34 #28AE77
triadic
#28AE34 #3428AE #AE3428
tetradic
#28AE34 #285FAE #AE28A2 #AE7728
square
#28AE34 #285FAE #AE28A2 #AE7728
split-complementary
#28AE34 #7728AE #AE285F
monochromatic
#114A16 #1D7C25 #28AE34 #40D34D #72DF7C

Accessibility & contrast

On white

2.92
#28AE34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#28AE34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AE34
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AE34#FFFFFF#000000##000000
##28AE341.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D22
Deuteranopia (green-blind)
#A39340
Tritanopia (blue-blind)
#00A996
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #28ae34;
/* rgb */ color: rgb(40, 174, 52);
/* oklch */ color: oklch(65.7% 0.196 144.0);
Tailwind
colors: {
  custom: {
    50: '#79c772',
    500: '#28ae34',
    950: '#000000',
  },
}
SCSS
$custom: #28ae34;
$custom-light: #79c772;
$custom-dark: #000000;
JSON
{
  "hex": "#28ae34",
  "rgb": {
    "r": 40,
    "g": 174,
    "b": 52
  },
  "hsl": {
    "h": 125.373,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65729,
    "c": 0.19606,
    "h": 144
  },
  "luminance": 0.30971
}

Semantic roles & 50–950 ramp

primary
#28AE34
secondary
#C66CBE
accent
#42D7E6
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #28AE34

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

Preview Lab → · Contrast checker → · Palette generator →

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