#2A9921#2A9921

#2A9921 is a mid, vivid green. Relative luminance 0.234; OKLCH L 59.9% C 0.183 H 142.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2A9921
RGBrgb(42, 153, 33)
HSLhsl(116, 65%, 36%)
HSVhsv(116, 78%, 60%)
CMYKcmyk(72.5%, 0%, 78.4%, 40%)
CIE-LABlab(55.46, -52.96, 50.25)
CIE-LCHlch(55.46, 73.00, 136.50°)
OKLaboklab(59.87% -0.1442 0.1126)
OKLCHoklch(59.87% 0.183 142)
XYZxyz(12.6199, 23.3831, 5.2869)
Luminance0.2339 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9921 #902199
analogous
#669921 #2A9921 #219954
triadic
#2A9921 #212A99 #99212A
tetradic
#2A9921 #216699 #902199 #995421
square
#2A9921 #216699 #902199 #995421
split-complementary
#2A9921 #542199 #992166
monochromatic
#0E340B #1C6716 #2A9921 #38CB2C #63DB59

Accessibility & contrast

On white

3.70
#2A9921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#2A9921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9921
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9921#FFFFFF#000000##000000
##2A99211.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A02
Deuteranopia (green-blind)
#90822F
Tritanopia (blue-blind)
#069482
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2a9921;
/* rgb */ color: rgb(42, 153, 33);
/* oklch */ color: oklch(59.9% 0.183 142.0);
Tailwind
colors: {
  custom: {
    50: '#76b866',
    500: '#2a9921',
    950: '#000000',
  },
}
SCSS
$custom: #2a9921;
$custom-light: #76b866;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9921",
  "rgb": {
    "r": 42,
    "g": 153,
    "b": 33
  },
  "hsl": {
    "h": 115.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59872,
    "c": 0.18293,
    "h": 142
  },
  "luminance": 0.23385
}

Semantic roles & 50–950 ramp

primary
#2A9921
secondary
#B756BF
accent
#40E8DB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2A9921

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

Preview Lab → · Contrast checker → · Palette generator →

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