#28AA40#28AA40

#28AA40 is a light, vivid green. Relative luminance 0.296; OKLCH L 64.8% C 0.183 H 145.7°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#28AA40
RGBrgb(40, 170, 64)
HSLhsl(131, 62%, 41%)
HSVhsv(131, 76%, 67%)
CMYKcmyk(76.5%, 0%, 62.4%, 33.3%)
CIE-LABlab(61.28, -56.03, 43.90)
CIE-LCHlch(61.28, 71.18, 141.92°)
OKLaboklab(64.77% -0.151 0.1029)
OKLCHoklch(64.77% 0.183 145.7)
XYZxyz(16.1740, 29.5688, 9.7044)
Luminance0.2957 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AA40 #AA2892
analogous
#51AA28 #28AA40 #28AA81
triadic
#28AA40 #4028AA #AA4028
tetradic
#28AA40 #2851AA #AA2892 #AA8128
square
#28AA40 #2851AA #AA2892 #AA8128
split-complementary
#28AA40 #8128AA #AA2851
monochromatic
#11471B #1C782D #28AA40 #3ED259 #6FDD84

Accessibility & contrast

On white

3.04
#28AA40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#28AA40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28AA40
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AA40#FFFFFF#000000##000000
##28AA401.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A34
Deuteranopia (green-blind)
#9E9049
Tritanopia (blue-blind)
#00A693
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #28aa40;
/* rgb */ color: rgb(40, 170, 64);
/* oklch */ color: oklch(64.8% 0.183 145.7);
Tailwind
colors: {
  custom: {
    50: '#77c479',
    500: '#28aa40',
    950: '#000000',
  },
}
SCSS
$custom: #28aa40;
$custom-light: #77c479;
$custom-dark: #000000;
JSON
{
  "hex": "#28aa40",
  "rgb": {
    "r": 40,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 131.077,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64765,
    "c": 0.18277,
    "h": 145.7
  },
  "luminance": 0.29571
}

Semantic roles & 50–950 ramp

primary
#28AA40
secondary
#C46AB3
accent
#43C7E5
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #28AA40

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

Preview Lab → · Contrast checker → · Palette generator →

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