#2AAF51#2AAF51

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

Color values

HEX#2AAF51
RGBrgb(42, 175, 81)
HSLhsl(138, 61%, 43%)
HSVhsv(138, 76%, 69%)
CMYKcmyk(76%, 0%, 53.7%, 31.4%)
CIE-LABlab(63.13, -55.19, 38.02)
CIE-LCHlch(63.13, 67.01, 145.44°)
OKLaboklab(66.37% -0.1484 0.0914)
OKLCHoklch(66.37% 0.174 148.4)
XYZxyz(17.7686, 31.7442, 12.9738)
Luminance0.3175 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AAF51 #AF2A88
analogous
#46AF2A #2AAF51 #2AAF93
triadic
#2AAF51 #512AAF #AF512A
tetradic
#2AAF51 #2A46AF #AF2A88 #AF932A
square
#2AAF51 #2A46AF #AF2A88 #AF932A
split-complementary
#2AAF51 #932AAF #AF2A46
monochromatic
#124C23 #1E7E3A #2AAF51 #44D26E #75DE94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2AAF51#FFFFFF#000000##000000
##2AAF511.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)
#B19F49
Deuteranopia (green-blind)
#A19558
Tritanopia (blue-blind)
#00AB9A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #2aaf51;
/* rgb */ color: rgb(42, 175, 81);
/* oklch */ color: oklch(66.4% 0.174 148.4);
Tailwind
colors: {
  custom: {
    50: '#79c884',
    500: '#2aaf51',
    950: '#000000',
  },
}
SCSS
$custom: #2aaf51;
$custom-light: #79c884;
$custom-dark: #000000;
JSON
{
  "hex": "#2aaf51",
  "rgb": {
    "r": 42,
    "g": 175,
    "b": 81
  },
  "hsl": {
    "h": 137.594,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66371,
    "c": 0.17426,
    "h": 148.4
  },
  "luminance": 0.31746
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2AAF51

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

Preview Lab → · Contrast checker → · Palette generator →

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