#25A228#25A228

#25A228 is a light, vivid green. Relative luminance 0.264; OKLCH L 62.3% C 0.191 H 143.1°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#25A228
RGBrgb(37, 162, 40)
HSLhsl(121, 63%, 39%)
HSVhsv(121, 77%, 64%)
CMYKcmyk(77.2%, 0%, 75.3%, 36.5%)
CIE-LABlab(58.40, -56.23, 50.68)
CIE-LCHlch(58.40, 75.70, 137.97°)
OKLaboklab(62.3% -0.1525 0.1145)
OKLCHoklch(62.3% 0.191 143.1)
XYZxyz(14.0654, 26.3855, 6.3587)
Luminance0.2639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25A228 #A2259F
analogous
#61A225 #25A228 #25A267
triadic
#25A228 #2825A2 #A22825
tetradic
#25A228 #2561A2 #A2259F #A26725
square
#25A228 #2561A2 #A2259F #A26725
split-complementary
#25A228 #6725A2 #A22561
monochromatic
#0E3E0F #1A701C #25A228 #34D137 #65DC68

Accessibility & contrast

On white

3.35
#25A228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#25A228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #25A228
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25A228#FFFFFF#000000##000000
##25A2281.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5920F
Deuteranopia (green-blind)
#988935
Tritanopia (blue-blind)
#009D8B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #25a228;
/* rgb */ color: rgb(37, 162, 40);
/* oklch */ color: oklch(62.3% 0.191 143.1);
Tailwind
colors: {
  custom: {
    50: '#76bf6a',
    500: '#25a228',
    950: '#000000',
  },
}
SCSS
$custom: #25a228;
$custom-light: #76bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#25a228",
  "rgb": {
    "r": 37,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 121.44,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62296,
    "c": 0.19065,
    "h": 143.1
  },
  "luminance": 0.26387
}

Semantic roles & 50–950 ramp

primary
#25A228
secondary
#C261BF
accent
#42E2E6
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #25A228

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

Preview Lab → · Contrast checker → · Palette generator →

#25A228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva