#2A9B21#2A9B21

#2A9B21 is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.4% C 0.185 H 142.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2A9B21
RGBrgb(42, 155, 33)
HSLhsl(116, 65%, 37%)
HSVhsv(116, 79%, 61%)
CMYKcmyk(72.9%, 0%, 78.7%, 39.2%)
CIE-LABlab(56.13, -53.63, 50.90)
CIE-LCHlch(56.13, 73.93, 136.50°)
OKLaboklab(60.43% -0.146 0.1139)
OKLCHoklch(60.43% 0.185 142)
XYZxyz(12.9500, 24.0433, 5.3969)
Luminance0.2404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9B21 #92219B
analogous
#679B21 #2A9B21 #219B55
triadic
#2A9B21 #212A9B #9B212A
tetradic
#2A9B21 #21679B #92219B #9B5521
square
#2A9B21 #21679B #92219B #9B5521
split-complementary
#2A9B21 #55219B #9B2167
monochromatic
#0F360C #1C6916 #2A9B21 #38CD2C #64DC5A

Accessibility & contrast

On white

3.62
#2A9B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#2A9B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9B21
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9B21#FFFFFF#000000##000000
##2A9B211.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#92832F
Tritanopia (blue-blind)
#049684
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2a9b21;
/* rgb */ color: rgb(42, 155, 33);
/* oklch */ color: oklch(60.4% 0.185 142.0);
Tailwind
colors: {
  custom: {
    50: '#76ba66',
    500: '#2a9b21',
    950: '#000000',
  },
}
SCSS
$custom: #2a9b21;
$custom-light: #76ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9b21",
  "rgb": {
    "r": 42,
    "g": 155,
    "b": 33
  },
  "hsl": {
    "h": 115.574,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60425,
    "c": 0.18519,
    "h": 142
  },
  "luminance": 0.24045
}

Semantic roles & 50–950 ramp

primary
#2A9B21
secondary
#B858C0
accent
#40E8DB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2A9B21

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

Preview Lab → · Contrast checker → · Palette generator →

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