#25872F#25872F

#25872F is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.154 H 144.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#25872F
RGBrgb(37, 135, 47)
HSLhsl(126, 57%, 34%)
HSVhsv(126, 73%, 53%)
CMYKcmyk(72.6%, 0%, 65.2%, 47.1%)
CIE-LABlab(49.41, -46.36, 38.28)
CIE-LCHlch(49.41, 60.12, 140.45°)
OKLaboklab(54.85% -0.1254 0.0892)
OKLCHoklch(54.85% 0.154 144.6)
XYZxyz(9.9394, 17.9254, 5.6249)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25872F #87257D
analogous
#4C8725 #25872F #258760
triadic
#25872F #2F2587 #872F25
tetradic
#25872F #254C87 #87257D #876025
square
#25872F #254C87 #87257D #876025
split-complementary
#25872F #602587 #87254C
monochromatic
#0B270E #18571E #25872F #32B740 #56D162

Accessibility & contrast

On white

4.58
#25872F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#25872F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #25872F
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25872F#FFFFFF#000000##000000
##25872F1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A25
Deuteranopia (green-blind)
#7E7237
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #25872f;
/* rgb */ color: rgb(37, 135, 47);
/* oklch */ color: oklch(54.8% 0.154 144.6);
Tailwind
colors: {
  custom: {
    50: '#6fab6b',
    500: '#25872f',
    950: '#000000',
  },
}
SCSS
$custom: #25872f;
$custom-light: #6fab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#25872f",
  "rgb": {
    "r": 37,
    "g": 135,
    "b": 47
  },
  "hsl": {
    "h": 126.122,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54848,
    "c": 0.15388,
    "h": 144.6
  },
  "luminance": 0.17926
}

Semantic roles & 50–950 ramp

primary
#25872F
secondary
#B553AB
accent
#48D1E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #25872F

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

Preview Lab → · Contrast checker → · Palette generator →

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