#25871F#25871F

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

Color values

HEX#25871F
RGBrgb(37, 135, 31)
HSLhsl(117, 63%, 33%)
HSVhsv(117, 77%, 53%)
CMYKcmyk(72.6%, 0%, 77%, 47.1%)
CIE-LABlab(49.28, -47.91, 44.83)
CIE-LCHlch(49.28, 65.62, 136.90°)
OKLaboklab(54.7% -0.1304 0.101)
OKLCHoklch(54.7% 0.165 142.2)
XYZxyz(9.6737, 17.8191, 4.2257)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25871F #811F87
analogous
#59871F #25871F #1F874D
triadic
#25871F #1F2587 #871F25
tetradic
#25871F #1F5987 #811F87 #874D1F
square
#25871F #1F5987 #811F87 #874D1F
split-complementary
#25871F #4D1F87 #871F59
monochromatic
#0A2308 #175514 #25871F #33B92A #53D64B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##25871F#FFFFFF#000000##FFFFFF
##25871F1.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)
#8A7A09
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#078373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #25871f;
/* rgb */ color: rgb(37, 135, 31);
/* oklch */ color: oklch(54.7% 0.165 142.2);
Tailwind
colors: {
  custom: {
    50: '#70ab62',
    500: '#25871f',
    950: '#000000',
  },
}
SCSS
$custom: #25871f;
$custom-light: #70ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#25871f",
  "rgb": {
    "r": 37,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 116.538,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54699,
    "c": 0.16493,
    "h": 142.2
  },
  "luminance": 0.1782
}

Semantic roles & 50–950 ramp

primary
#25871F
secondary
#B24AB8
accent
#42E6DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #25871F

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

Preview Lab → · Contrast checker → · Palette generator →

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