#2A9524#2A9524

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

Color values

HEX#2A9524
RGBrgb(42, 149, 36)
HSLhsl(117, 61%, 36%)
HSVhsv(117, 76%, 58%)
CMYKcmyk(71.8%, 0%, 75.8%, 41.6%)
CIE-LABlab(54.15, -51.39, 47.90)
CIE-LCHlch(54.15, 70.25, 137.01°)
OKLaboklab(58.78% -0.1398 0.1081)
OKLCHoklch(58.78% 0.177 142.3)
XYZxyz(12.0200, 22.1132, 5.3035)
Luminance0.2212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9524 #8F2495
analogous
#639524 #2A9524 #249557
triadic
#2A9524 #242A95 #95242A
tetradic
#2A9524 #246395 #8F2495 #955724
square
#2A9524 #246395 #8F2495 #955724
split-complementary
#2A9524 #572495 #952463
monochromatic
#0E320C #1C6418 #2A9524 #38C630 #62D85C

Accessibility & contrast

On white

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

On black

5.42
#2A9524 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9524
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9524#FFFFFF#000000##000000
##2A95241.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#98870D
Deuteranopia (green-blind)
#8C7E30
Tritanopia (blue-blind)
#09907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2a9524;
/* rgb */ color: rgb(42, 149, 36);
/* oklch */ color: oklch(58.8% 0.177 142.3);
Tailwind
colors: {
  custom: {
    50: '#75b567',
    500: '#2a9524',
    950: '#000000',
  },
}
SCSS
$custom: #2a9524;
$custom-light: #75b567;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9524",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 36
  },
  "hsl": {
    "h": 116.814,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58783,
    "c": 0.17671,
    "h": 142.3
  },
  "luminance": 0.22115
}

Semantic roles & 50–950 ramp

primary
#2A9524
secondary
#B759BC
accent
#44E4DC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A9524

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

Preview Lab → · Contrast checker → · Palette generator →

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