#28A62B#28A62B

#28A62B is a light, vivid green. Relative luminance 0.279; OKLCH L 63.5% C 0.193 H 143.1°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#28A62B
RGBrgb(40, 166, 43)
HSLhsl(121, 61%, 40%)
HSVhsv(121, 76%, 65%)
CMYKcmyk(75.9%, 0%, 74.1%, 34.9%)
CIE-LABlab(59.79, -56.82, 51.01)
CIE-LCHlch(59.79, 76.36, 138.08°)
OKLaboklab(63.48% -0.1541 0.1155)
OKLCHoklch(63.48% 0.193 143.1)
XYZxyz(14.9464, 27.8962, 6.8818)
Luminance0.2790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A62B #A628A3
analogous
#64A628 #28A62B #28A66A
triadic
#28A62B #2B28A6 #A62B28
tetradic
#28A62B #2864A6 #A628A3 #A66A28
square
#28A62B #2864A6 #A628A3 #A66A28
split-complementary
#28A62B #6A28A6 #A62864
monochromatic
#104311 #1C751E #28A62B #3BD03F #6DDC6F

Accessibility & contrast

On white

3.19
#28A62B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#28A62B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A62B
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A62B#FFFFFF#000000##000000
##28A62B1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9614
Deuteranopia (green-blind)
#9C8C38
Tritanopia (blue-blind)
#00A18E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #28a62b;
/* rgb */ color: rgb(40, 166, 43);
/* oklch */ color: oklch(63.5% 0.193 143.1);
Tailwind
colors: {
  custom: {
    50: '#77c26c',
    500: '#28a62b',
    950: '#000000',
  },
}
SCSS
$custom: #28a62b;
$custom-light: #77c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#28a62b",
  "rgb": {
    "r": 40,
    "g": 166,
    "b": 43
  },
  "hsl": {
    "h": 121.429,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63476,
    "c": 0.1926,
    "h": 143.1
  },
  "luminance": 0.27898
}

Semantic roles & 50–950 ramp

primary
#28A62B
secondary
#C267C0
accent
#44E0E4
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #28A62B

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

Preview Lab → · Contrast checker → · Palette generator →

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