#28B126#28B126

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

Color values

HEX#28B126
RGBrgb(40, 177, 38)
HSLhsl(119, 65%, 42%)
HSVhsv(119, 79%, 69%)
CMYKcmyk(77.4%, 0%, 78.5%, 30.6%)
CIE-LABlab(63.37, -60.70, 56.26)
CIE-LCHlch(63.37, 82.76, 137.18°)
OKLaboklab(66.44% -0.1648 0.1258)
OKLCHoklch(66.44% 0.207 142.7)
XYZxyz(16.9460, 32.0333, 7.1233)
Luminance0.3204 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B126 #AF26B1
analogous
#6DB126 #28B126 #26B16A
triadic
#28B126 #2628B1 #B12628
tetradic
#28B126 #266DB1 #AF26B1 #B16A26
square
#28B126 #266DB1 #AF26B1 #B16A26
split-complementary
#28B126 #6A26B1 #B1266D
monochromatic
#114C10 #1D7F1B #28B126 #41D63F #73E071

Accessibility & contrast

On white

2.84
#28B126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##28B126#FFFFFF#000000##000000
##28B1261.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28b126;
/* rgb */ color: rgb(40, 177, 38);
/* oklch */ color: oklch(66.4% 0.207 142.7);
Tailwind
colors: {
  custom: {
    50: '#7aca6b',
    500: '#28b126',
    950: '#000000',
  },
}
SCSS
$custom: #28b126;
$custom-light: #7aca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#28b126",
  "rgb": {
    "r": 40,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 119.137,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66439,
    "c": 0.20736,
    "h": 142.7
  },
  "luminance": 0.32035
}

Semantic roles & 50–950 ramp

primary
#28B126
secondary
#C66BC7
accent
#40E8E5
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #28B126

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

Preview Lab → · Contrast checker → · Palette generator →

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