#28B638#28B638

#28B638 is a light, highly saturated green. Relative luminance 0.342; OKLCH L 67.9% C 0.203 H 144.3°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#28B638
RGBrgb(40, 182, 56)
HSLhsl(127, 64%, 44%)
HSVhsv(127, 78%, 71%)
CMYKcmyk(78%, 0%, 69.2%, 28.6%)
CIE-LABlab(65.11, -60.83, 51.54)
CIE-LCHlch(65.11, 79.72, 139.73°)
OKLaboklab(67.93% -0.1644 0.1182)
OKLCHoklch(67.93% 0.203 144.3)
XYZxyz(18.3156, 34.1904, 9.3747)
Luminance0.3419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B638 #B628A6
analogous
#5FB628 #28B638 #28B67F
triadic
#28B638 #3828B6 #B63828
tetradic
#28B638 #285FB6 #B628A6 #B67F28
square
#28B638 #285FB6 #B628A6 #B67F28
split-complementary
#28B638 #7F28B6 #B6285F
monochromatic
#125219 #1D8429 #28B638 #45D655 #77E183

Accessibility & contrast

On white

2.68
#28B638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#28B638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B638
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B638#FFFFFF#000000##000000
##28B6381.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A526
Deuteranopia (green-blind)
#AA9A44
Tritanopia (blue-blind)
#00B19D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #28b638;
/* rgb */ color: rgb(40, 182, 56);
/* oklch */ color: oklch(67.9% 0.203 144.3);
Tailwind
colors: {
  custom: {
    50: '#7bcd75',
    500: '#28b638',
    950: '#000000',
  },
}
SCSS
$custom: #28b638;
$custom-light: #7bcd75;
$custom-dark: #000000;
JSON
{
  "hex": "#28b638",
  "rgb": {
    "r": 40,
    "g": 182,
    "b": 56
  },
  "hsl": {
    "h": 126.761,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67925,
    "c": 0.2025,
    "h": 144.3
  },
  "luminance": 0.34193
}

Semantic roles & 50–950 ramp

primary
#28B638
secondary
#C971BF
accent
#41D4E7
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #28B638

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

Preview Lab → · Contrast checker → · Palette generator →

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