#2AAF34#2AAF34

#2AAF34 is a light, vivid green. Relative luminance 0.314; OKLCH L 66.0% C 0.197 H 143.8°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#2AAF34
RGBrgb(42, 175, 52)
HSLhsl(125, 61%, 43%)
HSVhsv(125, 76%, 69%)
CMYKcmyk(76%, 0%, 70.3%, 31.4%)
CIE-LABlab(62.84, -58.66, 50.73)
CIE-LCHlch(62.84, 77.56, 139.14°)
OKLaboklab(66.04% -0.1588 0.1161)
OKLCHoklch(66.04% 0.197 143.8)
XYZxyz(16.9035, 31.3982, 8.4177)
Luminance0.3140 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AAF34 #AF2AA5
analogous
#63AF2A #2AAF34 #2AAF76
triadic
#2AAF34 #342AAF #AF342A
tetradic
#2AAF34 #2A63AF #AF2AA5 #AF762A
square
#2AAF34 #2A63AF #AF2AA5 #AF762A
split-complementary
#2AAF34 #762AAF #AF2A63
monochromatic
#124C17 #1E7E25 #2AAF34 #44D24F #75DE7D

Accessibility & contrast

On white

2.88
#2AAF34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#2AAF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AAF34
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AAF34#FFFFFF#000000##000000
##2AAF341.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2aaf34;
/* rgb */ color: rgb(42, 175, 52);
/* oklch */ color: oklch(66.0% 0.197 143.8);
Tailwind
colors: {
  custom: {
    50: '#7ac872',
    500: '#2aaf34',
    950: '#000000',
  },
}
SCSS
$custom: #2aaf34;
$custom-light: #7ac872;
$custom-dark: #000000;
JSON
{
  "hex": "#2aaf34",
  "rgb": {
    "r": 42,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 124.511,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66038,
    "c": 0.19667,
    "h": 143.8
  },
  "luminance": 0.314
}

Semantic roles & 50–950 ramp

primary
#2AAF34
secondary
#C66FBF
accent
#43D8E4
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2AAF34

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

Preview Lab → · Contrast checker → · Palette generator →

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