#28B128#28B128

#28B128 is a light, highly saturated green. Relative luminance 0.320; OKLCH L 66.5% C 0.206 H 142.8°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#28B128
RGBrgb(40, 177, 40)
HSLhsl(120, 63%, 43%)
HSVhsv(120, 77%, 69%)
CMYKcmyk(77.4%, 0%, 77.4%, 30.6%)
CIE-LABlab(63.38, -60.56, 55.62)
CIE-LCHlch(63.38, 82.23, 137.43°)
OKLaboklab(66.45% -0.1644 0.1247)
OKLCHoklch(66.45% 0.206 142.8)
XYZxyz(16.9792, 32.0466, 7.2978)
Luminance0.3205 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B128 #B128B1
analogous
#6CB128 #28B128 #28B16C
triadic
#28B128 #2828B1 #B12828
tetradic
#28B128 #286CB1 #B128B1 #B16C28
square
#28B128 #286CB1 #B128B1 #B16C28
split-complementary
#28B128 #6C28B1 #B1286C
monochromatic
#114D11 #1D7F1D #28B128 #42D442 #74E074

Accessibility & contrast

On white

2.83
#28B128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#28B128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B128
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B128#FFFFFF#000000##000000
##28B1281.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A004
Deuteranopia (green-blind)
#A69538
Tritanopia (blue-blind)
#00AC97
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #28b128;
/* rgb */ color: rgb(40, 177, 40);
/* oklch */ color: oklch(66.5% 0.206 142.8);
Tailwind
colors: {
  custom: {
    50: '#7aca6c',
    500: '#28b128',
    950: '#000000',
  },
}
SCSS
$custom: #28b128;
$custom-light: #7aca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#28b128",
  "rgb": {
    "r": 40,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66451,
    "c": 0.20635,
    "h": 142.8
  },
  "luminance": 0.32049
}

Semantic roles & 50–950 ramp

primary
#28B128
secondary
#C76EC7
accent
#42E6E6
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #28B128

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

Preview Lab → · Contrast checker → · Palette generator →

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