#25871B#25871B

#25871B is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.167 H 141.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#25871B
RGBrgb(37, 135, 27)
HSLhsl(114, 67%, 32%)
HSVhsv(114, 80%, 53%)
CMYKcmyk(72.6%, 0%, 80%, 47.1%)
CIE-LABlab(49.25, -48.21, 46.21)
CIE-LCHlch(49.25, 66.78, 136.21°)
OKLaboklab(54.67% -0.1314 0.1033)
OKLCHoklch(54.67% 0.167 141.8)
XYZxyz(9.6242, 17.7993, 3.9651)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25871B #7D1B87
analogous
#5B871B #25871B #1B8747
triadic
#25871B #1B2587 #871B25
tetradic
#25871B #1B5B87 #7D1B87 #87471B
square
#25871B #1B5B87 #7D1B87 #87471B
split-complementary
#25871B #471B87 #871B5B
monochromatic
#092107 #175411 #25871B #33BA25 #51D943

Accessibility & contrast

On white

4.61
#25871B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#25871B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #25871B
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25871B#FFFFFF#000000##FFFFFF
##25871B1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#098373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #25871b;
/* rgb */ color: rgb(37, 135, 27);
/* oklch */ color: oklch(54.7% 0.167 141.8);
Tailwind
colors: {
  custom: {
    50: '#70ab60',
    500: '#25871b',
    950: '#000000',
  },
}
SCSS
$custom: #25871b;
$custom-light: #70ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#25871b",
  "rgb": {
    "r": 37,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 114.444,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54671,
    "c": 0.16714,
    "h": 141.8
  },
  "luminance": 0.178
}

Semantic roles & 50–950 ramp

primary
#25871B
secondary
#AF44BA
accent
#3EEADA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #25871B

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

Preview Lab → · Contrast checker → · Palette generator →

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