#2AAF52#2AAF52

#2AAF52 is a light, vivid green. Relative luminance 0.318; OKLCH L 66.4% C 0.173 H 148.6°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2AAF52
RGBrgb(42, 175, 82)
HSLhsl(138, 61%, 43%)
HSVhsv(138, 76%, 69%)
CMYKcmyk(76%, 0%, 53.1%, 31.4%)
CIE-LABlab(63.14, -55.04, 37.54)
CIE-LCHlch(63.14, 66.62, 145.70°)
OKLaboklab(66.39% -0.148 0.0904)
OKLCHoklch(66.39% 0.173 148.6)
XYZxyz(17.8064, 31.7593, 13.1727)
Luminance0.3176 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AAF52 #AF2A87
analogous
#45AF2A #2AAF52 #2AAF94
triadic
#2AAF52 #522AAF #AF522A
tetradic
#2AAF52 #2A45AF #AF2A87 #AF942A
square
#2AAF52 #2A45AF #AF2A87 #AF942A
split-complementary
#2AAF52 #942AAF #AF2A45
monochromatic
#124C24 #1E7E3B #2AAF52 #44D26F #75DE95

Accessibility & contrast

On white

2.86
#2AAF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#2AAF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AAF52
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AAF52#FFFFFF#000000##000000
##2AAF521.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F4A
Deuteranopia (green-blind)
#A19559
Tritanopia (blue-blind)
#00AB9A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #2aaf52;
/* rgb */ color: rgb(42, 175, 82);
/* oklch */ color: oklch(66.4% 0.173 148.6);
Tailwind
colors: {
  custom: {
    50: '#79c885',
    500: '#2aaf52',
    950: '#000000',
  },
}
SCSS
$custom: #2aaf52;
$custom-light: #79c885;
$custom-dark: #000000;
JSON
{
  "hex": "#2aaf52",
  "rgb": {
    "r": 42,
    "g": 175,
    "b": 82
  },
  "hsl": {
    "h": 138.045,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66385,
    "c": 0.17338,
    "h": 148.6
  },
  "luminance": 0.31761
}

Semantic roles & 50–950 ramp

primary
#2AAF52
secondary
#C66FAC
accent
#43B4E4
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #2AAF52

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

Preview Lab → · Contrast checker → · Palette generator →

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