#25971A#25971A

#25971A is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.2% C 0.186 H 141.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#25971A
RGBrgb(37, 151, 26)
HSLhsl(115, 71%, 35%)
HSVhsv(115, 83%, 59%)
CMYKcmyk(75.5%, 0%, 82.8%, 40.8%)
CIE-LABlab(54.66, -53.62, 51.64)
CIE-LCHlch(54.66, 74.44, 136.08°)
OKLaboklab(59.16% -0.1461 0.1145)
OKLCHoklch(59.16% 0.186 141.9)
XYZxyz(12.0153, 22.5997, 4.7060)
Luminance0.2260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25971A #8C1A97
analogous
#64971A #25971A #1A974E
triadic
#25971A #1A2597 #971A25
tetradic
#25971A #1A6497 #8C1A97 #974E1A
square
#25971A #1A6497 #8C1A97 #974E1A
split-complementary
#25971A #4E1A97 #971A64
monochromatic
#0B2F08 #186311 #25971A #32CB23 #58E04B

Accessibility & contrast

On white

3.80
#25971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#25971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #25971A
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25971A#FFFFFF#000000##000000
##25971A1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8E7F2A
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #25971a;
/* rgb */ color: rgb(37, 151, 26);
/* oklch */ color: oklch(59.2% 0.186 141.9);
Tailwind
colors: {
  custom: {
    50: '#74b762',
    500: '#25971a',
    950: '#000000',
  },
}
SCSS
$custom: #25971a;
$custom-light: #74b762;
$custom-dark: #000000;
JSON
{
  "hex": "#25971a",
  "rgb": {
    "r": 37,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 114.72,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5916,
    "c": 0.18558,
    "h": 141.9
  },
  "luminance": 0.22601
}

Semantic roles & 50–950 ramp

primary
#25971A
secondary
#B84BC2
accent
#3AEDDE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #25971A

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

Preview Lab → · Contrast checker → · Palette generator →

#25971A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva