#2A9525#2A9525

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

Color values

HEX#2A9525
RGBrgb(42, 149, 37)
HSLhsl(117, 60%, 36%)
HSVhsv(117, 75%, 58%)
CMYKcmyk(71.8%, 0%, 75.2%, 41.6%)
CIE-LABlab(54.15, -51.31, 47.54)
CIE-LCHlch(54.15, 69.95, 137.18°)
OKLaboklab(58.79% -0.1395 0.1075)
OKLCHoklch(58.79% 0.176 142.4)
XYZxyz(12.0355, 22.1194, 5.3851)
Luminance0.2212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9525 #902595
analogous
#629525 #2A9525 #259558
triadic
#2A9525 #252A95 #95252A
tetradic
#2A9525 #256295 #902595 #955825
square
#2A9525 #256295 #902595 #955825
split-complementary
#2A9525 #582595 #952562
monochromatic
#0E330D #1C6419 #2A9525 #38C631 #63D75E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A9525#FFFFFF#000000##000000
##2A95251.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)
#98870F
Deuteranopia (green-blind)
#8C7E31
Tritanopia (blue-blind)
#09907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2a9525;
/* rgb */ color: rgb(42, 149, 37);
/* oklch */ color: oklch(58.8% 0.176 142.4);
Tailwind
colors: {
  custom: {
    50: '#74b567',
    500: '#2a9525',
    950: '#000000',
  },
}
SCSS
$custom: #2a9525;
$custom-light: #74b567;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9525",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 37
  },
  "hsl": {
    "h": 117.321,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58791,
    "c": 0.17612,
    "h": 142.4
  },
  "luminance": 0.22121
}

Semantic roles & 50–950 ramp

primary
#2A9525
secondary
#B75ABC
accent
#44E3DC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A9525

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

Preview Lab → · Contrast checker → · Palette generator →

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