#25871E#25871E

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

Color values

HEX#25871E
RGBrgb(37, 135, 30)
HSLhsl(116, 64%, 32%)
HSVhsv(116, 78%, 53%)
CMYKcmyk(72.6%, 0%, 77.8%, 47.1%)
CIE-LABlab(49.27, -47.99, 45.19)
CIE-LCHlch(49.27, 65.92, 136.72°)
OKLaboklab(54.69% -0.1306 0.1016)
OKLCHoklch(54.69% 0.166 142.1)
XYZxyz(9.6607, 17.8139, 4.1573)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25871E #801E87
analogous
#5A871E #25871E #1E874C
triadic
#25871E #1E2587 #871E25
tetradic
#25871E #1E5A87 #801E87 #874C1E
square
#25871E #1E5A87 #801E87 #874C1E
split-complementary
#25871E #4C1E87 #871E5A
monochromatic
#0A2308 #175513 #25871E #33B929 #52D749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##25871E#FFFFFF#000000##FFFFFF
##25871E1.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)
#8A7A06
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#088373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #25871e;
/* rgb */ color: rgb(37, 135, 30);
/* oklch */ color: oklch(54.7% 0.166 142.1);
Tailwind
colors: {
  custom: {
    50: '#70ab62',
    500: '#25871e',
    950: '#000000',
  },
}
SCSS
$custom: #25871e;
$custom-light: #70ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#25871e",
  "rgb": {
    "r": 37,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 116,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54692,
    "c": 0.16551,
    "h": 142.1
  },
  "luminance": 0.17815
}

Semantic roles & 50–950 ramp

primary
#25871E
secondary
#B148B9
accent
#41E7DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #25871E

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

Preview Lab → · Contrast checker → · Palette generator →

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