#2A9829#2A9829

#2A9829 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.7% C 0.177 H 142.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2A9829
RGBrgb(42, 152, 41)
HSLhsl(119, 58%, 38%)
HSVhsv(119, 73%, 60%)
CMYKcmyk(72.4%, 0%, 73%, 40.4%)
CIE-LABlab(55.18, -51.99, 47.07)
CIE-LCHlch(55.18, 70.14, 137.85°)
OKLaboklab(59.65% -0.1412 0.107)
OKLCHoklch(59.65% 0.177 142.8)
XYZxyz(12.5826, 23.1074, 5.8945)
Luminance0.2311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9829 #972998
analogous
#629829 #2A9829 #29985F
triadic
#2A9829 #292A98 #98292A
tetradic
#2A9829 #296298 #972998 #985F29
square
#2A9829 #296298 #972998 #985F29
split-complementary
#2A9829 #5F2998 #982962
monochromatic
#0F380F #1D681C #2A9829 #37C836 #67D666

Accessibility & contrast

On white

3.74
#2A9829 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#2A9829 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9829
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9829#FFFFFF#000000##000000
##2A98291.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8916
Deuteranopia (green-blind)
#8F8134
Tritanopia (blue-blind)
#039382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a9829;
/* rgb */ color: rgb(42, 152, 41);
/* oklch */ color: oklch(59.7% 0.177 142.8);
Tailwind
colors: {
  custom: {
    50: '#75b76a',
    500: '#2a9829',
    950: '#000000',
  },
}
SCSS
$custom: #2a9829;
$custom-light: #75b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9829",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 41
  },
  "hsl": {
    "h": 119.459,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59654,
    "c": 0.17718,
    "h": 142.8
  },
  "luminance": 0.23109
}

Semantic roles & 50–950 ramp

primary
#2A9829
secondary
#BB61BC
accent
#47E1DF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #2A9829

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

Preview Lab → · Contrast checker → · Palette generator →

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