#25971B#25971B

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

Color values

HEX#25971B
RGBrgb(37, 151, 27)
HSLhsl(115, 70%, 35%)
HSVhsv(115, 82%, 59%)
CMYKcmyk(75.5%, 0%, 82.1%, 40.8%)
CIE-LABlab(54.66, -53.56, 51.35)
CIE-LCHlch(54.66, 74.20, 136.21°)
OKLaboklab(59.17% -0.1458 0.114)
OKLCHoklch(59.17% 0.185 142)
XYZxyz(12.0267, 22.6043, 4.7659)
Luminance0.2261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25971B #8D1B97
analogous
#63971B #25971B #1B974F
triadic
#25971B #1B2597 #971B25
tetradic
#25971B #1B6397 #8D1B97 #974F1B
square
#25971B #1B6397 #8D1B97 #974F1B
split-complementary
#25971B #4F1B97 #971B63
monochromatic
#0C2F08 #186312 #25971B #32CB24 #59DF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##25971B#FFFFFF#000000##000000
##25971B1.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)
#8E7F2B
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #25971b;
/* rgb */ color: rgb(37, 151, 27);
/* oklch */ color: oklch(59.2% 0.185 142.0);
Tailwind
colors: {
  custom: {
    50: '#74b763',
    500: '#25971b',
    950: '#000000',
  },
}
SCSS
$custom: #25971b;
$custom-light: #74b763;
$custom-dark: #000000;
JSON
{
  "hex": "#25971b",
  "rgb": {
    "r": 37,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 115.161,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59166,
    "c": 0.18514,
    "h": 142
  },
  "luminance": 0.22606
}

Semantic roles & 50–950 ramp

primary
#25971B
secondary
#B84CC1
accent
#3BECDE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #25971B

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

Preview Lab → · Contrast checker → · Palette generator →

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