#2A9832#2A9832

#2A9832 is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.7% C 0.171 H 144.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2A9832
RGBrgb(42, 152, 50)
HSLhsl(124, 57%, 38%)
HSVhsv(124, 72%, 60%)
CMYKcmyk(72.4%, 0%, 67.1%, 40.4%)
CIE-LABlab(55.25, -51.13, 43.43)
CIE-LCHlch(55.25, 67.08, 139.65°)
OKLaboklab(59.74% -0.1384 0.1005)
OKLCHoklch(59.74% 0.171 144)
XYZxyz(12.7580, 23.1776, 6.8184)
Luminance0.2318 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9832 #982A90
analogous
#59982A #2A9832 #2A9869
triadic
#2A9832 #322A98 #98322A
tetradic
#2A9832 #2A5998 #982A90 #98692A
square
#2A9832 #2A5998 #982A90 #98692A
split-complementary
#2A9832 #692A98 #982A59
monochromatic
#103812 #1D6822 #2A9832 #37C842 #67D56F

Accessibility & contrast

On white

3.73
#2A9832 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#2A9832 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9832
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9832#FFFFFF#000000##000000
##2A98321.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A25
Deuteranopia (green-blind)
#8E813B
Tritanopia (blue-blind)
#009483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a9832;
/* rgb */ color: rgb(42, 152, 50);
/* oklch */ color: oklch(59.7% 0.171 144.0);
Tailwind
colors: {
  custom: {
    50: '#75b76f',
    500: '#2a9832',
    950: '#000000',
  },
}
SCSS
$custom: #2a9832;
$custom-light: #75b76f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9832",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 50
  },
  "hsl": {
    "h": 124.364,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59737,
    "c": 0.17102,
    "h": 144
  },
  "luminance": 0.23179
}

Semantic roles & 50–950 ramp

primary
#2A9832
secondary
#BB62B5
accent
#48D5E0
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A9832

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

Preview Lab → · Contrast checker → · Palette generator →

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