#25871C#25871C

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

Color values

HEX#25871C
RGBrgb(37, 135, 28)
HSLhsl(115, 66%, 32%)
HSVhsv(115, 79%, 53%)
CMYKcmyk(72.6%, 0%, 79.3%, 47.1%)
CIE-LABlab(49.26, -48.14, 45.88)
CIE-LCHlch(49.26, 66.50, 136.38°)
OKLaboklab(54.68% -0.1311 0.1028)
OKLCHoklch(54.68% 0.167 141.9)
XYZxyz(9.6360, 17.8040, 4.0271)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25871C #7E1C87
analogous
#5B871C #25871C #1C8749
triadic
#25871C #1C2587 #871C25
tetradic
#25871C #1C5B87 #7E1C87 #87491C
square
#25871C #1C5B87 #7E1C87 #87491C
split-complementary
#25871C #491C87 #871C5B
monochromatic
#092207 #175411 #25871C #33BA27 #51D845

Accessibility & contrast

On white

4.60
#25871C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #25871C
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25871C#FFFFFF#000000##FFFFFF
##25871C1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25871c;
/* rgb */ color: rgb(37, 135, 28);
/* oklch */ color: oklch(54.7% 0.167 141.9);
Tailwind
colors: {
  custom: {
    50: '#70ab61',
    500: '#25871c',
    950: '#000000',
  },
}
SCSS
$custom: #25871c;
$custom-light: #70ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#25871c",
  "rgb": {
    "r": 37,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 114.953,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54678,
    "c": 0.16661,
    "h": 141.9
  },
  "luminance": 0.17805
}

Semantic roles & 50–950 ramp

primary
#25871C
secondary
#B045BA
accent
#3FE9DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #25871C

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

Preview Lab → · Contrast checker → · Palette generator →

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