#2A9530#2A9530

#2A9530 is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.9% C 0.169 H 143.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2A9530
RGBrgb(42, 149, 48)
HSLhsl(123, 56%, 37%)
HSVhsv(123, 72%, 58%)
CMYKcmyk(71.8%, 0%, 67.8%, 41.6%)
CIE-LABlab(54.24, -50.29, 43.19)
CIE-LCHlch(54.24, 66.29, 139.34°)
OKLaboklab(58.89% -0.1362 0.0997)
OKLCHoklch(58.89% 0.169 143.8)
XYZxyz(12.2350, 22.1992, 6.4358)
Luminance0.2220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9530 #952A8F
analogous
#5A952A #2A9530 #2A9565
triadic
#2A9530 #302A95 #95302A
tetradic
#2A9530 #2A5A95 #952A8F #95652A
square
#2A9530 #2A5A95 #952A8F #95652A
split-complementary
#2A9530 #652A95 #952A5A
monochromatic
#0F3611 #1D6521 #2A9530 #37C53F #66D46C

Accessibility & contrast

On white

3.86
#2A9530 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#2A9530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9530
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9530#FFFFFF#000000##000000
##2A95301.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988723
Deuteranopia (green-blind)
#8C7E39
Tritanopia (blue-blind)
#029180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a9530;
/* rgb */ color: rgb(42, 149, 48);
/* oklch */ color: oklch(58.9% 0.169 143.8);
Tailwind
colors: {
  custom: {
    50: '#74b56d',
    500: '#2a9530',
    950: '#000000',
  },
}
SCSS
$custom: #2a9530;
$custom-light: #74b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9530",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 48
  },
  "hsl": {
    "h": 123.364,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58888,
    "c": 0.16884,
    "h": 143.8
  },
  "luminance": 0.22201
}

Semantic roles & 50–950 ramp

primary
#2A9530
secondary
#BA61B5
accent
#48D7DF
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A9530

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

Preview Lab → · Contrast checker → · Palette generator →

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