#25871A#25871A

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

Color values

HEX#25871A
RGBrgb(37, 135, 26)
HSLhsl(114, 68%, 32%)
HSVhsv(114, 81%, 53%)
CMYKcmyk(72.6%, 0%, 80.7%, 47.1%)
CIE-LABlab(49.25, -48.28, 46.54)
CIE-LCHlch(49.25, 67.06, 136.05°)
OKLaboklab(54.67% -0.1316 0.1038)
OKLCHoklch(54.67% 0.168 141.7)
XYZxyz(9.6128, 17.7948, 3.9052)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25871A #7C1A87
analogous
#5C871A #25871A #1A8746
triadic
#25871A #1A2587 #871A25
tetradic
#25871A #1A5C87 #7C1A87 #87461A
square
#25871A #1A5C87 #7C1A87 #87461A
split-complementary
#25871A #461A87 #871A5C
monochromatic
#092006 #175410 #25871A #33BA24 #50DA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##25871A#FFFFFF#000000##FFFFFF
##25871A1.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)
#7F7227
Tritanopia (blue-blind)
#098373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #25871a;
/* rgb */ color: rgb(37, 135, 26);
/* oklch */ color: oklch(54.7% 0.168 141.7);
Tailwind
colors: {
  custom: {
    50: '#70ab60',
    500: '#25871a',
    950: '#000000',
  },
}
SCSS
$custom: #25871a;
$custom-light: #70ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#25871a",
  "rgb": {
    "r": 37,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 113.945,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54665,
    "c": 0.16765,
    "h": 141.7
  },
  "luminance": 0.17796
}

Semantic roles & 50–950 ramp

primary
#25871A
secondary
#AE42BA
accent
#3DEBD9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #25871A

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

Preview Lab → · Contrast checker → · Palette generator →

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