#2AA021#2AA021

#2AA021 is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.8% C 0.191 H 142.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#2AA021
RGBrgb(42, 160, 33)
HSLhsl(116, 66%, 38%)
HSVhsv(116, 79%, 63%)
CMYKcmyk(73.8%, 0%, 79.4%, 37.3%)
CIE-LABlab(57.79, -55.28, 52.50)
CIE-LCHlch(57.79, 76.23, 136.48°)
OKLaboklab(61.8% -0.1505 0.1172)
OKLCHoklch(61.8% 0.191 142.1)
XYZxyz(13.7994, 25.7421, 5.6800)
Luminance0.2574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2AA021 #9721A0
analogous
#69A021 #2AA021 #21A057
triadic
#2AA021 #212AA0 #A0212A
tetradic
#2AA021 #2169A0 #9721A0 #A05721
square
#2AA021 #2169A0 #9721A0 #A05721
split-complementary
#2AA021 #5721A0 #A02169
monochromatic
#0F3B0C #1D6D17 #2AA021 #37D32B #67DE5E

Accessibility & contrast

On white

3.42
#2AA021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#2AA021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2AA021
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2AA021#FFFFFF#000000##000000
##2AA0211.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#978730
Tritanopia (blue-blind)
#009B88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2aa021;
/* rgb */ color: rgb(42, 160, 33);
/* oklch */ color: oklch(61.8% 0.191 142.1);
Tailwind
colors: {
  custom: {
    50: '#77bd67',
    500: '#2aa021',
    950: '#000000',
  },
}
SCSS
$custom: #2aa021;
$custom-light: #77bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#2aa021",
  "rgb": {
    "r": 42,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 115.748,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61804,
    "c": 0.19075,
    "h": 142.1
  },
  "luminance": 0.25744
}

Semantic roles & 50–950 ramp

primary
#2AA021
secondary
#BB5BC2
accent
#3FE9DD
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2AA021

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

Preview Lab → · Contrast checker → · Palette generator →

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