#2A9529#2A9529

#2A9529 is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.8% C 0.174 H 142.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2A9529
RGBrgb(42, 149, 41)
HSLhsl(119, 57%, 37%)
HSVhsv(119, 72%, 58%)
CMYKcmyk(71.8%, 0%, 72.5%, 41.6%)
CIE-LABlab(54.18, -50.97, 46.04)
CIE-LCHlch(54.18, 68.68, 137.91°)
OKLaboklab(58.82% -0.1384 0.1049)
OKLCHoklch(58.82% 0.174 142.9)
XYZxyz(12.1018, 22.1459, 5.7342)
Luminance0.2215 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9529 #942995
analogous
#609529 #2A9529 #29955E
triadic
#2A9529 #292A95 #95292A
tetradic
#2A9529 #296095 #942995 #955E29
square
#2A9529 #296095 #942995 #955E29
split-complementary
#2A9529 #5E2995 #952960
monochromatic
#0F350F #1C651C #2A9529 #38C536 #65D464

Accessibility & contrast

On white

3.87
#2A9529 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#2A9529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9529
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9529#FFFFFF#000000##000000
##2A95291.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988717
Deuteranopia (green-blind)
#8C7E34
Tritanopia (blue-blind)
#079180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a9529;
/* rgb */ color: rgb(42, 149, 41);
/* oklch */ color: oklch(58.8% 0.174 142.9);
Tailwind
colors: {
  custom: {
    50: '#74b569',
    500: '#2a9529',
    950: '#000000',
  },
}
SCSS
$custom: #2a9529;
$custom-light: #74b569;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9529",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 41
  },
  "hsl": {
    "h": 119.444,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58823,
    "c": 0.17365,
    "h": 142.9
  },
  "luminance": 0.22147
}

Semantic roles & 50–950 ramp

primary
#2A9529
secondary
#B960BA
accent
#48E0DF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A9529

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

Preview Lab → · Contrast checker → · Palette generator →

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