#28B12E#28B12E

#28B12E is a light, highly saturated green. Relative luminance 0.321; OKLCH L 66.5% C 0.203 H 143.3°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#28B12E
RGBrgb(40, 177, 46)
HSLhsl(123, 63%, 43%)
HSVhsv(123, 77%, 69%)
CMYKcmyk(77.4%, 0%, 74%, 30.6%)
CIE-LABlab(63.42, -60.11, 53.59)
CIE-LCHlch(63.42, 80.53, 138.28°)
OKLaboklab(66.49% -0.1629 0.1213)
OKLCHoklch(66.49% 0.203 143.3)
XYZxyz(17.0893, 32.0906, 7.8777)
Luminance0.3209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B12E #B128AB
analogous
#66B128 #28B12E #28B173
triadic
#28B12E #2E28B1 #B12E28
tetradic
#28B12E #2866B1 #B128AB #B17328
square
#28B12E #2866B1 #B128AB #B17328
split-complementary
#28B12E #7328B1 #B12866
monochromatic
#114D14 #1D7F21 #28B12E #42D448 #74E079

Accessibility & contrast

On white

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

On black

7.42
#28B12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B12E
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B12E#FFFFFF#000000##000000
##28B12E1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A015
Deuteranopia (green-blind)
#A6963C
Tritanopia (blue-blind)
#00AC98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #28b12e;
/* rgb */ color: rgb(40, 177, 46);
/* oklch */ color: oklch(66.5% 0.203 143.3);
Tailwind
colors: {
  custom: {
    50: '#7aca6f',
    500: '#28b12e',
    950: '#000000',
  },
}
SCSS
$custom: #28b12e;
$custom-light: #7aca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#28b12e",
  "rgb": {
    "r": 40,
    "g": 177,
    "b": 46
  },
  "hsl": {
    "h": 122.628,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66493,
    "c": 0.2031,
    "h": 143.3
  },
  "luminance": 0.32093
}

Semantic roles & 50–950 ramp

primary
#28B12E
secondary
#C76EC3
accent
#42DFE6
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #28B12E

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

Preview Lab → · Contrast checker → · Palette generator →

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