#2AAF30#2AAF30

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

Color values

HEX#2AAF30
RGBrgb(42, 175, 48)
HSLhsl(123, 61%, 43%)
HSVhsv(123, 76%, 69%)
CMYKcmyk(76%, 0%, 72.6%, 31.4%)
CIE-LABlab(62.81, -59.01, 52.25)
CIE-LCHlch(62.81, 78.82, 138.48°)
OKLaboklab(66.01% -0.1599 0.1187)
OKLCHoklch(66.01% 0.199 143.4)
XYZxyz(16.8172, 31.3636, 7.9632)
Luminance0.3137 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AAF30 #AF2AA9
analogous
#66AF2A #2AAF30 #2AAF73
triadic
#2AAF30 #302AAF #AF302A
tetradic
#2AAF30 #2A66AF #AF2AA9 #AF732A
square
#2AAF30 #2A66AF #AF2AA9 #AF732A
split-complementary
#2AAF30 #732AAF #AF2A66
monochromatic
#124C15 #1E7E22 #2AAF30 #44D24A #75DE7A

Accessibility & contrast

On white

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

On black

7.27
#2AAF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2AAF30
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AAF30#FFFFFF#000000##000000
##2AAF301.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2aaf30;
/* rgb */ color: rgb(42, 175, 48);
/* oklch */ color: oklch(66.0% 0.199 143.4);
Tailwind
colors: {
  custom: {
    50: '#7ac870',
    500: '#2aaf30',
    950: '#000000',
  },
}
SCSS
$custom: #2aaf30;
$custom-light: #7ac870;
$custom-dark: #000000;
JSON
{
  "hex": "#2aaf30",
  "rgb": {
    "r": 42,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 122.707,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66005,
    "c": 0.19917,
    "h": 143.4
  },
  "luminance": 0.31366
}

Semantic roles & 50–950 ramp

primary
#2AAF30
secondary
#C66FC2
accent
#43DDE4
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2AAF30

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

Preview Lab → · Contrast checker → · Palette generator →

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