#28B22D#28B22D

#28B22D is a light, highly saturated green. Relative luminance 0.325; OKLCH L 66.8% C 0.205 H 143.2°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#28B22D
RGBrgb(40, 178, 45)
HSLhsl(122, 63%, 43%)
HSVhsv(122, 78%, 70%)
CMYKcmyk(77.5%, 0%, 74.7%, 30.2%)
CIE-LABlab(63.74, -60.51, 54.27)
CIE-LCHlch(63.74, 81.28, 138.11°)
OKLaboklab(66.76% -0.164 0.1226)
OKLCHoklch(66.76% 0.205 143.2)
XYZxyz(17.2680, 32.4793, 7.8412)
Luminance0.3248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28B22D #B228AD
analogous
#68B228 #28B22D #28B272
triadic
#28B22D #2D28B2 #B22D28
tetradic
#28B22D #2868B2 #B228AD #B27228
square
#28B22D #2868B2 #B228AD #B27228
split-complementary
#28B22D #7228B2 #B22868
monochromatic
#124E14 #1D8020 #28B22D #43D548 #75E078

Accessibility & contrast

On white

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

On black

7.50
#28B22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28B22D
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28B22D#FFFFFF#000000##000000
##28B22D1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28b22d;
/* rgb */ color: rgb(40, 178, 45);
/* oklch */ color: oklch(66.8% 0.205 143.2);
Tailwind
colors: {
  custom: {
    50: '#7aca6f',
    500: '#28b22d',
    950: '#000000',
  },
}
SCSS
$custom: #28b22d;
$custom-light: #7aca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#28b22d",
  "rgb": {
    "r": 40,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 122.174,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66757,
    "c": 0.20476,
    "h": 143.2
  },
  "luminance": 0.32481
}

Semantic roles & 50–950 ramp

primary
#28B22D
secondary
#C76FC4
accent
#41E0E6
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #28B22D

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

Preview Lab → · Contrast checker → · Palette generator →

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