#2A9F25#2A9F25

#2A9F25 is a mid, vivid green. Relative luminance 0.254; OKLCH L 61.6% C 0.188 H 142.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2A9F25
RGBrgb(42, 159, 37)
HSLhsl(118, 62%, 38%)
HSVhsv(118, 77%, 62%)
CMYKcmyk(73.6%, 0%, 76.7%, 37.6%)
CIE-LABlab(57.48, -54.67, 50.86)
CIE-LCHlch(57.48, 74.67, 137.06°)
OKLaboklab(61.56% -0.1486 0.1144)
OKLCHoklch(61.56% 0.188 142.4)
XYZxyz(13.6861, 25.4206, 5.9353)
Luminance0.2542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9F25 #9A259F
analogous
#679F25 #2A9F25 #259F5D
triadic
#2A9F25 #252A9F #9F252A
tetradic
#2A9F25 #25679F #9A259F #9F5D25
square
#2A9F25 #25679F #9A259F #9F5D25
split-complementary
#2A9F25 #5D259F #9F2567
monochromatic
#103C0E #1D6D19 #2A9F25 #38CF32 #68DB64

Accessibility & contrast

On white

3.45
#2A9F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#2A9F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9F25
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9F25#FFFFFF#000000##000000
##2A9F251.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39009
Deuteranopia (green-blind)
#958733
Tritanopia (blue-blind)
#009A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2a9f25;
/* rgb */ color: rgb(42, 159, 37);
/* oklch */ color: oklch(61.6% 0.188 142.4);
Tailwind
colors: {
  custom: {
    50: '#77bc69',
    500: '#2a9f25',
    950: '#000000',
  },
}
SCSS
$custom: #2a9f25;
$custom-light: #77bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9f25",
  "rgb": {
    "r": 42,
    "g": 159,
    "b": 37
  },
  "hsl": {
    "h": 117.541,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61555,
    "c": 0.18756,
    "h": 142.4
  },
  "luminance": 0.25422
}

Semantic roles & 50–950 ramp

primary
#2A9F25
secondary
#BC5FC0
accent
#42E5DF
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2A9F25

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

Preview Lab → · Contrast checker → · Palette generator →

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