#28B252#28B252

#28B252 is a light, vivid green. Relative luminance 0.329; OKLCH L 67.2% C 0.178 H 148.5°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#28B252
RGBrgb(40, 178, 82)
HSLhsl(138, 63%, 43%)
HSVhsv(138, 78%, 70%)
CMYKcmyk(77.5%, 0%, 53.9%, 30.2%)
CIE-LABlab(64.08, -56.36, 38.67)
CIE-LCHlch(64.08, 68.35, 145.55°)
OKLaboklab(67.15% -0.1515 0.0929)
OKLCHoklch(67.15% 0.178 148.5)
XYZxyz(18.3170, 32.8989, 13.3658)
Luminance0.3290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B252 #B22888
analogous
#43B228 #28B252 #28B297
triadic
#28B252 #5228B2 #B25228
tetradic
#28B252 #2843B2 #B22888 #B29728
square
#28B252 #2843B2 #B22888 #B29728
split-complementary
#28B252 #9728B2 #B22843
monochromatic
#124E24 #1D803B #28B252 #43D56F #75E095

Accessibility & contrast

On white

2.77
#28B252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#28B252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B252
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B252#FFFFFF#000000##000000
##28B2521.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A249
Deuteranopia (green-blind)
#A49759
Tritanopia (blue-blind)
#00AE9C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #28b252;
/* rgb */ color: rgb(40, 178, 82);
/* oklch */ color: oklch(67.2% 0.178 148.5);
Tailwind
colors: {
  custom: {
    50: '#79ca85',
    500: '#28b252',
    950: '#000000',
  },
}
SCSS
$custom: #28b252;
$custom-light: #79ca85;
$custom-dark: #000000;
JSON
{
  "hex": "#28b252",
  "rgb": {
    "r": 40,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 138.261,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67151,
    "c": 0.17768,
    "h": 148.5
  },
  "luminance": 0.32901
}

Semantic roles & 50–950 ramp

primary
#28B252
secondary
#C76FAC
accent
#41B4E6
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #28B252

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

Preview Lab → · Contrast checker → · Palette generator →

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