#28A021#28A021

#28A021 is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.8% C 0.191 H 142.3°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#28A021
RGBrgb(40, 160, 33)
HSLhsl(117, 66%, 38%)
HSVhsv(117, 79%, 63%)
CMYKcmyk(75%, 0%, 79.4%, 37.3%)
CIE-LABlab(57.75, -55.61, 52.45)
CIE-LCHlch(57.75, 76.44, 136.68°)
OKLaboklab(61.76% -0.1513 0.1171)
OKLCHoklch(61.76% 0.191 142.3)
XYZxyz(13.7196, 25.7010, 5.6763)
Luminance0.2570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28A021 #9921A0
analogous
#67A021 #28A021 #21A059
triadic
#28A021 #2128A0 #A02128
tetradic
#28A021 #2167A0 #9921A0 #A05921
square
#28A021 #2167A0 #9921A0 #A05921
split-complementary
#28A021 #5921A0 #A02167
monochromatic
#0F3B0C #1B6D17 #28A021 #35D32B #65DE5E

Accessibility & contrast

On white

3.42
#28A021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#28A021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28A021
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28A021#FFFFFF#000000##000000
##28A0211.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#009B88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #28a021;
/* rgb */ color: rgb(40, 160, 33);
/* oklch */ color: oklch(61.8% 0.191 142.3);
Tailwind
colors: {
  custom: {
    50: '#77bd67',
    500: '#28a021',
    950: '#000000',
  },
}
SCSS
$custom: #28a021;
$custom-light: #77bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#28a021",
  "rgb": {
    "r": 40,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 116.693,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6176,
    "c": 0.19134,
    "h": 142.3
  },
  "luminance": 0.25703
}

Semantic roles & 50–950 ramp

primary
#28A021
secondary
#BD5BC2
accent
#3FE9DF
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #28A021

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

Preview Lab → · Contrast checker → · Palette generator →

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