#28AF2E#28AF2E

#28AF2E is a light, highly saturated green. Relative luminance 0.313; OKLCH L 66.0% C 0.201 H 143.4°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#28AF2E
RGBrgb(40, 175, 46)
HSLhsl(123, 63%, 42%)
HSVhsv(123, 77%, 69%)
CMYKcmyk(77.1%, 0%, 73.7%, 31.4%)
CIE-LABlab(62.77, -59.48, 52.93)
CIE-LCHlch(62.77, 79.62, 138.33°)
OKLaboklab(65.95% -0.1612 0.1199)
OKLCHoklch(65.95% 0.201 143.4)
XYZxyz(16.6971, 31.3064, 7.7470)
Luminance0.3131 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28AF2E #AF28A9
analogous
#65AF28 #28AF2E #28AF72
triadic
#28AF2E #2E28AF #AF2E28
tetradic
#28AF2E #2865AF #AF28A9 #AF7228
square
#28AF2E #2865AF #AF28A9 #AF7228
split-complementary
#28AF2E #7228AF #AF2865
monochromatic
#114B14 #1D7D21 #28AF2E #41D447 #73DF77

Accessibility & contrast

On white

2.89
#28AF2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#28AF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #28AF2E
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28AF2E#FFFFFF#000000##000000
##28AF2E1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E16
Deuteranopia (green-blind)
#A4943C
Tritanopia (blue-blind)
#00AA96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #28af2e;
/* rgb */ color: rgb(40, 175, 46);
/* oklch */ color: oklch(66.0% 0.201 143.4);
Tailwind
colors: {
  custom: {
    50: '#7ac86f',
    500: '#28af2e',
    950: '#000000',
  },
}
SCSS
$custom: #28af2e;
$custom-light: #7ac86f;
$custom-dark: #000000;
JSON
{
  "hex": "#28af2e",
  "rgb": {
    "r": 40,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 122.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65951,
    "c": 0.20088,
    "h": 143.4
  },
  "luminance": 0.31308
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28AF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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