#2AAF27#2AAF27

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

Color values

HEX#2AAF27
RGBrgb(42, 175, 39)
HSLhsl(119, 64%, 42%)
HSVhsv(119, 78%, 69%)
CMYKcmyk(76%, 0%, 77.7%, 31.4%)
CIE-LABlab(62.76, -59.70, 55.35)
CIE-LCHlch(62.76, 81.42, 137.17°)
OKLaboklab(65.94% -0.1622 0.124)
OKLCHoklch(65.94% 0.204 142.6)
XYZxyz(16.6500, 31.2967, 7.0824)
Luminance0.3130 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AAF27 #AC27AF
analogous
#6EAF27 #2AAF27 #27AF68
triadic
#2AAF27 #272AAF #AF272A
tetradic
#2AAF27 #276EAF #AC27AF #AF6827
square
#2AAF27 #276EAF #AC27AF #AF6827
split-complementary
#2AAF27 #6827AF #AF276E
monochromatic
#124B11 #1E7D1C #2AAF27 #42D43F #73DF71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2AAF27#FFFFFF#000000##000000
##2AAF271.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)
#B39E02
Deuteranopia (green-blind)
#A49437
Tritanopia (blue-blind)
#00AA95
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #2aaf27;
/* rgb */ color: rgb(42, 175, 39);
/* oklch */ color: oklch(65.9% 0.204 142.6);
Tailwind
colors: {
  custom: {
    50: '#7ac86c',
    500: '#2aaf27',
    950: '#000000',
  },
}
SCSS
$custom: #2aaf27;
$custom-light: #7ac86c;
$custom-dark: #000000;
JSON
{
  "hex": "#2aaf27",
  "rgb": {
    "r": 42,
    "g": 175,
    "b": 39
  },
  "hsl": {
    "h": 118.676,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65941,
    "c": 0.20418,
    "h": 142.6
  },
  "luminance": 0.31299
}

Semantic roles & 50–950 ramp

primary
#2AAF27
secondary
#C46BC6
accent
#41E7E3
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2AAF27

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

Preview Lab → · Contrast checker → · Palette generator →

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