#28B227#28B227

#28B227 is a light, highly saturated green. Relative luminance 0.324; OKLCH L 66.7% C 0.208 H 142.7°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#28B227
RGBrgb(40, 178, 39)
HSLhsl(120, 64%, 43%)
HSVhsv(120, 78%, 70%)
CMYKcmyk(77.5%, 0%, 78.1%, 30.2%)
CIE-LABlab(63.70, -60.95, 56.26)
CIE-LCHlch(63.70, 82.94, 137.29°)
OKLaboklab(66.72% -0.1655 0.1259)
OKLCHoklch(66.72% 0.208 142.7)
XYZxyz(17.1606, 32.4364, 7.2755)
Luminance0.3244 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B227 #B127B2
analogous
#6EB227 #28B227 #27B26B
triadic
#28B227 #2728B2 #B22728
tetradic
#28B227 #276EB2 #B127B2 #B26B27
square
#28B227 #276EB2 #B127B2 #B26B27
split-complementary
#28B227 #6B27B2 #B2276E
monochromatic
#114E11 #1D801C #28B227 #42D541 #74E073

Accessibility & contrast

On white

2.80
#28B227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#28B227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B227
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B227#FFFFFF#000000##000000
##28B2271.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#A79637
Tritanopia (blue-blind)
#00AD98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #28b227;
/* rgb */ color: rgb(40, 178, 39);
/* oklch */ color: oklch(66.7% 0.208 142.7);
Tailwind
colors: {
  custom: {
    50: '#7bca6c',
    500: '#28b227',
    950: '#000000',
  },
}
SCSS
$custom: #28b227;
$custom-light: #7bca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#28b227",
  "rgb": {
    "r": 40,
    "g": 178,
    "b": 39
  },
  "hsl": {
    "h": 119.568,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66716,
    "c": 0.20793,
    "h": 142.7
  },
  "luminance": 0.32438
}

Semantic roles & 50–950 ramp

primary
#28B227
secondary
#C76DC8
accent
#41E7E6
background
#F8FCF6
surface
#EFF9EC
border
#CAD2C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #28B227

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

Preview Lab → · Contrast checker → · Palette generator →

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