#2A8232#2A8232

#2A8232 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.143 H 144.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2A8232
RGBrgb(42, 130, 50)
HSLhsl(125, 51%, 34%)
HSVhsv(125, 68%, 51%)
CMYKcmyk(67.7%, 0%, 61.5%, 49%)
CIE-LABlab(47.86, -43.13, 35.13)
CIE-LCHlch(47.86, 55.63, 140.83°)
OKLaboklab(53.62% -0.1167 0.0828)
OKLCHoklch(53.62% 0.143 144.7)
XYZxyz(9.5126, 16.6868, 5.7366)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8232 #822A7A
analogous
#4E822A #2A8232 #2A825E
triadic
#2A8232 #322A82 #82322A
tetradic
#2A8232 #2A4E82 #822A7A #825E2A
square
#2A8232 #2A4E82 #822A7A #825E2A
split-complementary
#2A8232 #5E2A82 #822A4E
monochromatic
#0C250E #1B5420 #2A8232 #39B044 #5CCA66

Accessibility & contrast

On white

4.84
#2A8232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2A8232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8232
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8232#FFFFFF#000000##FFFFFF
##2A82321.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762A
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#127F71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a8232;
/* rgb */ color: rgb(42, 130, 50);
/* oklch */ color: oklch(53.6% 0.143 144.7);
Tailwind
colors: {
  custom: {
    50: '#6fa76d',
    500: '#2a8232',
    950: '#000000',
  },
}
SCSS
$custom: #2a8232;
$custom-light: #6fa76d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8232",
  "rgb": {
    "r": 42,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 125.455,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53617,
    "c": 0.1431,
    "h": 144.7
  },
  "luminance": 0.16688
}

Semantic roles & 50–950 ramp

primary
#2A8232
secondary
#B058A8
accent
#4DCEDB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2A8232

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

Preview Lab → · Contrast checker → · Palette generator →

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