#2AAF28#2AAF28

#2AAF28 is a light, highly saturated green. Relative luminance 0.313; OKLCH L 65.9% C 0.204 H 142.7°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2AAF28
RGBrgb(42, 175, 40)
HSLhsl(119, 63%, 42%)
HSVhsv(119, 77%, 69%)
CMYKcmyk(76%, 0%, 77.1%, 31.4%)
CIE-LABlab(62.76, -59.64, 55.03)
CIE-LCHlch(62.76, 81.15, 137.30°)
OKLaboklab(65.95% -0.162 0.1235)
OKLCHoklch(65.95% 0.204 142.7)
XYZxyz(16.6668, 31.3035, 7.1709)
Luminance0.3130 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AAF28 #AD28AF
analogous
#6EAF28 #2AAF28 #28AF6A
triadic
#2AAF28 #282AAF #AF282A
tetradic
#2AAF28 #286EAF #AD28AF #AF6A28
square
#2AAF28 #286EAF #AD28AF #AF6A28
split-complementary
#2AAF28 #6A28AF #AF286E
monochromatic
#124B11 #1E7D1D #2AAF28 #43D441 #74DF73

Accessibility & contrast

On white

2.89
#2AAF28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#2AAF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AAF28
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AAF28#FFFFFF#000000##000000
##2AAF281.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)
#B39E05
Deuteranopia (green-blind)
#A49437
Tritanopia (blue-blind)
#00AA96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #2aaf28;
/* rgb */ color: rgb(42, 175, 40);
/* oklch */ color: oklch(65.9% 0.204 142.7);
Tailwind
colors: {
  custom: {
    50: '#7ac86c',
    500: '#2aaf28',
    950: '#000000',
  },
}
SCSS
$custom: #2aaf28;
$custom-light: #7ac86c;
$custom-dark: #000000;
JSON
{
  "hex": "#2aaf28",
  "rgb": {
    "r": 42,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 119.111,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65947,
    "c": 0.20368,
    "h": 142.7
  },
  "luminance": 0.31305
}

Semantic roles & 50–950 ramp

primary
#2AAF28
secondary
#C56DC6
accent
#42E6E3
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2AAF28

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

Preview Lab → · Contrast checker → · Palette generator →

#2AAF28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva