#2A9824#2A9824

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

Color values

HEX#2A9824
RGBrgb(42, 152, 36)
HSLhsl(117, 62%, 37%)
HSVhsv(117, 76%, 60%)
CMYKcmyk(72.4%, 0%, 76.3%, 40.4%)
CIE-LABlab(55.15, -52.40, 48.90)
CIE-LCHlch(55.15, 71.68, 136.98°)
OKLaboklab(59.61% -0.1426 0.1102)
OKLCHoklch(59.61% 0.18 142.3)
XYZxyz(12.5008, 23.0747, 5.4638)
Luminance0.2308 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9824 #922498
analogous
#649824 #2A9824 #249858
triadic
#2A9824 #242A98 #98242A
tetradic
#2A9824 #246498 #922498 #985824
square
#2A9824 #246498 #922498 #985824
split-complementary
#2A9824 #582498 #982464
monochromatic
#0F350D #1C6718 #2A9824 #38C930 #64D95E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A9824#FFFFFF#000000##000000
##2A98241.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)
#9C890B
Deuteranopia (green-blind)
#8F8131
Tritanopia (blue-blind)
#069382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2a9824;
/* rgb */ color: rgb(42, 152, 36);
/* oklch */ color: oklch(59.6% 0.180 142.3);
Tailwind
colors: {
  custom: {
    50: '#75b767',
    500: '#2a9824',
    950: '#000000',
  },
}
SCSS
$custom: #2a9824;
$custom-light: #75b767;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9824",
  "rgb": {
    "r": 42,
    "g": 152,
    "b": 36
  },
  "hsl": {
    "h": 116.897,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59615,
    "c": 0.18016,
    "h": 142.3
  },
  "luminance": 0.23076
}

Semantic roles & 50–950 ramp

primary
#2A9824
secondary
#B85ABE
accent
#43E5DC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2A9824

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

Preview Lab → · Contrast checker → · Palette generator →

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