#2A9121#2A9121

#2A9121 is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.6% C 0.174 H 142.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2A9121
RGBrgb(42, 145, 33)
HSLhsl(115, 63%, 35%)
HSVhsv(115, 77%, 57%)
CMYKcmyk(71%, 0%, 77.2%, 43.1%)
CIE-LABlab(52.79, -50.25, 47.63)
CIE-LCHlch(52.79, 69.23, 136.53°)
OKLaboklab(57.65% -0.1369 0.1071)
OKLCHoklch(57.65% 0.174 142)
XYZxyz(11.3541, 20.8516, 4.8649)
Luminance0.2085 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9121 #882191
analogous
#629121 #2A9121 #219150
triadic
#2A9121 #212A91 #91212A
tetradic
#2A9121 #216291 #882191 #915021
square
#2A9121 #216291 #882191 #915021
split-complementary
#2A9121 #502191 #912162
monochromatic
#0D2D0A #1C5F16 #2A9121 #38C32C #5FD854

Accessibility & contrast

On white

4.06
#2A9121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#2A9121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9121
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9121#FFFFFF#000000##000000
##2A91211.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958308
Deuteranopia (green-blind)
#897B2D
Tritanopia (blue-blind)
#0F8C7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2a9121;
/* rgb */ color: rgb(42, 145, 33);
/* oklch */ color: oklch(57.6% 0.174 142.0);
Tailwind
colors: {
  custom: {
    50: '#74b265',
    500: '#2a9121',
    950: '#000000',
  },
}
SCSS
$custom: #2a9121;
$custom-light: #74b265;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9121",
  "rgb": {
    "r": 42,
    "g": 145,
    "b": 33
  },
  "hsl": {
    "h": 115.179,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57649,
    "c": 0.17379,
    "h": 142
  },
  "luminance": 0.20853
}

Semantic roles & 50–950 ramp

primary
#2A9121
secondary
#B352BC
accent
#42E6D9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A9121

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

Preview Lab → · Contrast checker → · Palette generator →

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