#2A9724#2A9724

#2A9724 is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.3% C 0.179 H 142.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2A9724
RGBrgb(42, 151, 36)
HSLhsl(117, 61%, 37%)
HSVhsv(117, 76%, 59%)
CMYKcmyk(72.2%, 0%, 76.2%, 40.8%)
CIE-LABlab(54.82, -52.06, 48.57)
CIE-LCHlch(54.82, 71.20, 136.99°)
OKLaboklab(59.34% -0.1416 0.1095)
OKLCHoklch(59.34% 0.179 142.3)
XYZxyz(12.3392, 22.7515, 5.4099)
Luminance0.2275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9724 #912497
analogous
#649724 #2A9724 #249758
triadic
#2A9724 #242A97 #97242A
tetradic
#2A9724 #246497 #912497 #975824
square
#2A9724 #246497 #912497 #975824
split-complementary
#2A9724 #582497 #972464
monochromatic
#0F340C #1C6618 #2A9724 #38C830 #63D85D

Accessibility & contrast

On white

3.78
#2A9724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#2A9724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9724
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9724#FFFFFF#000000##000000
##2A97241.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B880C
Deuteranopia (green-blind)
#8E8030
Tritanopia (blue-blind)
#079281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a9724;
/* rgb */ color: rgb(42, 151, 36);
/* oklch */ color: oklch(59.3% 0.179 142.3);
Tailwind
colors: {
  custom: {
    50: '#75b767',
    500: '#2a9724',
    950: '#000000',
  },
}
SCSS
$custom: #2a9724;
$custom-light: #75b767;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9724",
  "rgb": {
    "r": 42,
    "g": 151,
    "b": 36
  },
  "hsl": {
    "h": 116.87,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59338,
    "c": 0.17901,
    "h": 142.3
  },
  "luminance": 0.22753
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A9724

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

Preview Lab → · Contrast checker → · Palette generator →

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