#28C126#28C126

#28C126 is a light, highly saturated green. Relative luminance 0.387; OKLCH L 70.8% C 0.224 H 142.6°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#28C126
RGBrgb(40, 193, 38)
HSLhsl(119, 67%, 45%)
HSVhsv(119, 80%, 76%)
CMYKcmyk(79.3%, 0%, 80.3%, 24.3%)
CIE-LABlab(68.55, -65.61, 61.19)
CIE-LCHlch(68.55, 89.72, 137.00°)
OKLaboklab(70.75% -0.1782 0.1361)
OKLCHoklch(70.75% 0.224 142.6)
XYZxyz(20.2936, 38.7285, 8.2392)
Luminance0.3873 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28C126 #BF26C1
analogous
#75C126 #28C126 #26C172
triadic
#28C126 #2628C1 #C12628
tetradic
#28C126 #2675C1 #BF26C1 #C17226
square
#28C126 #2675C1 #BF26C1 #C17226
split-complementary
#28C126 #7226C1 #C12675
monochromatic
#135B12 #1D8E1C #28C126 #4BDB49 #7EE57C

Accessibility & contrast

On white

2.40
#28C126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#28C126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28C126
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28C126#FFFFFF#000000##000000
##28C1261.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#B5A339
Tritanopia (blue-blind)
#00BBA5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #28c126;
/* rgb */ color: rgb(40, 193, 38);
/* oklch */ color: oklch(70.8% 0.224 142.6);
Tailwind
colors: {
  custom: {
    50: '#7ed56e',
    500: '#28c126',
    950: '#000000',
  },
}
SCSS
$custom: #28c126;
$custom-light: #7ed56e;
$custom-dark: #000000;
JSON
{
  "hex": "#28c126",
  "rgb": {
    "r": 40,
    "g": 193,
    "b": 38
  },
  "hsl": {
    "h": 119.226,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70751,
    "c": 0.22419,
    "h": 142.6
  },
  "luminance": 0.38731
}

Semantic roles & 50–950 ramp

primary
#28C126
secondary
#CC75CD
accent
#3EEAE8
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1408
muted
#7D837B

Preview Lab

Preview with #28C126

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

Preview Lab → · Contrast checker → · Palette generator →

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