#28A32B#28A32B

#28A32B is a light, vivid green. Relative luminance 0.268; OKLCH L 62.7% C 0.189 H 143.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#28A32B
RGBrgb(40, 163, 43)
HSLhsl(121, 61%, 40%)
HSVhsv(121, 75%, 64%)
CMYKcmyk(75.5%, 0%, 73.6%, 36.1%)
CIE-LABlab(58.81, -55.84, 50.01)
CIE-LCHlch(58.81, 74.96, 138.16°)
OKLaboklab(62.66% -0.1514 0.1134)
OKLCHoklch(62.66% 0.189 143.2)
XYZxyz(14.4074, 26.8183, 6.7022)
Luminance0.2682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A32B #A328A0
analogous
#63A328 #28A32B #28A368
triadic
#28A32B #2B28A3 #A32B28
tetradic
#28A32B #2863A3 #A328A0 #A36828
square
#28A32B #2863A3 #A328A0 #A36828
split-complementary
#28A32B #6828A3 #A32863
monochromatic
#104111 #1C721E #28A32B #3ACF3D #6BDB6E

Accessibility & contrast

On white

3.30
#28A32B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#28A32B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A32B
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A32B#FFFFFF#000000##000000
##28A32B1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69315
Deuteranopia (green-blind)
#998A38
Tritanopia (blue-blind)
#009E8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #28a32b;
/* rgb */ color: rgb(40, 163, 43);
/* oklch */ color: oklch(62.7% 0.189 143.2);
Tailwind
colors: {
  custom: {
    50: '#77bf6c',
    500: '#28a32b',
    950: '#000000',
  },
}
SCSS
$custom: #28a32b;
$custom-light: #77bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#28a32b",
  "rgb": {
    "r": 40,
    "g": 163,
    "b": 43
  },
  "hsl": {
    "h": 121.463,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62655,
    "c": 0.18921,
    "h": 143.2
  },
  "luminance": 0.2682
}

Semantic roles & 50–950 ramp

primary
#28A32B
secondary
#C166BF
accent
#44E0E4
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A32B

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

Preview Lab → · Contrast checker → · Palette generator →

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