#2A8921#2A8921

#2A8921 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.164 H 141.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2A8921
RGBrgb(42, 137, 33)
HSLhsl(115, 61%, 33%)
HSVhsv(115, 76%, 54%)
CMYKcmyk(69.3%, 0%, 75.9%, 46.3%)
CIE-LABlab(50.09, -47.45, 44.94)
CIE-LCHlch(50.09, 65.36, 136.56°)
OKLaboklab(55.41% -0.1293 0.1015)
OKLCHoklch(55.41% 0.164 141.9)
XYZxyz(10.1745, 18.4923, 4.4717)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8921 #802189
analogous
#5E8921 #2A8921 #21894C
triadic
#2A8921 #212A89 #89212A
tetradic
#2A8921 #215E89 #802189 #894C21
square
#2A8921 #215E89 #802189 #894C21
split-complementary
#2A8921 #4C2189 #89215E
monochromatic
#0C2609 #1B5815 #2A8921 #39BA2D #5BD550

Accessibility & contrast

On white

4.47
#2A8921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#2A8921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8921
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8921#FFFFFF#000000##000000
##2A89211.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0D
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#148575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a8921;
/* rgb */ color: rgb(42, 137, 33);
/* oklch */ color: oklch(55.4% 0.164 141.9);
Tailwind
colors: {
  custom: {
    50: '#72ac64',
    500: '#2a8921',
    950: '#000000',
  },
}
SCSS
$custom: #2a8921;
$custom-light: #72ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8921",
  "rgb": {
    "r": 42,
    "g": 137,
    "b": 33
  },
  "hsl": {
    "h": 114.808,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55411,
    "c": 0.16439,
    "h": 141.9
  },
  "luminance": 0.18493
}

Semantic roles & 50–950 ramp

primary
#2A8921
secondary
#AF4EB8
accent
#44E4D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8921

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

Preview Lab → · Contrast checker → · Palette generator →

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