#2A9E25#2A9E25

#2A9E25 is a mid, vivid green. Relative luminance 0.251; OKLCH L 61.3% C 0.186 H 142.4°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#2A9E25
RGBrgb(42, 158, 37)
HSLhsl(118, 62%, 38%)
HSVhsv(118, 77%, 62%)
CMYKcmyk(73.4%, 0%, 76.6%, 38%)
CIE-LABlab(57.15, -54.34, 50.53)
CIE-LCHlch(57.15, 74.20, 137.08°)
OKLaboklab(61.28% -0.1477 0.1137)
OKLCHoklch(61.28% 0.186 142.4)
XYZxyz(13.5148, 25.0780, 5.8782)
Luminance0.2508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9E25 #99259E
analogous
#669E25 #2A9E25 #259E5C
triadic
#2A9E25 #252A9E #9E252A
tetradic
#2A9E25 #25669E #99259E #9E5C25
square
#2A9E25 #25669E #99259E #9E5C25
split-complementary
#2A9E25 #5C259E #9E2566
monochromatic
#103B0E #1D6C19 #2A9E25 #38CF31 #68DA63

Accessibility & contrast

On white

3.49
#2A9E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#2A9E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9E25
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9E25#FFFFFF#000000##000000
##2A9E251.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F0A
Deuteranopia (green-blind)
#958632
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #2a9e25;
/* rgb */ color: rgb(42, 158, 37);
/* oklch */ color: oklch(61.3% 0.186 142.4);
Tailwind
colors: {
  custom: {
    50: '#77bc68',
    500: '#2a9e25',
    950: '#000000',
  },
}
SCSS
$custom: #2a9e25;
$custom-light: #77bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9e25",
  "rgb": {
    "r": 42,
    "g": 158,
    "b": 37
  },
  "hsl": {
    "h": 117.521,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61279,
    "c": 0.18643,
    "h": 142.4
  },
  "luminance": 0.2508
}

Semantic roles & 50–950 ramp

primary
#2A9E25
secondary
#BC5FC0
accent
#43E5DE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2A9E25

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

Preview Lab → · Contrast checker → · Palette generator →

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