#25971F#25971F

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

Color values

HEX#25971F
RGBrgb(37, 151, 31)
HSLhsl(117, 66%, 36%)
HSVhsv(117, 79%, 59%)
CMYKcmyk(75.5%, 0%, 79.5%, 40.8%)
CIE-LABlab(54.68, -53.31, 50.12)
CIE-LCHlch(54.68, 73.17, 136.76°)
OKLaboklab(59.19% -0.145 0.112)
OKLCHoklch(59.19% 0.183 142.3)
XYZxyz(12.0762, 22.6241, 5.0265)
Luminance0.2263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25971F #911F97
analogous
#61971F #25971F #1F9755
triadic
#25971F #1F2597 #971F25
tetradic
#25971F #1F6197 #911F97 #97551F
square
#25971F #1F6197 #911F97 #97551F
split-complementary
#25971F #551F97 #971F61
monochromatic
#0C310A #196415 #25971F #31CA29 #5BDC54

Accessibility & contrast

On white

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

On black

5.53
#25971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #25971F
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25971F#FFFFFF#000000##000000
##25971F1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25971f;
/* rgb */ color: rgb(37, 151, 31);
/* oklch */ color: oklch(59.2% 0.183 142.3);
Tailwind
colors: {
  custom: {
    50: '#73b765',
    500: '#25971f',
    950: '#000000',
  },
}
SCSS
$custom: #25971f;
$custom-light: #73b765;
$custom-dark: #000000;
JSON
{
  "hex": "#25971f",
  "rgb": {
    "r": 37,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 117,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59189,
    "c": 0.18322,
    "h": 142.3
  },
  "luminance": 0.22625
}

Semantic roles & 50–950 ramp

primary
#25971F
secondary
#BA52BF
accent
#3FE9E0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #25971F

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

Preview Lab → · Contrast checker → · Palette generator →

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