#25872B#25872B

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

Color values

HEX#25872B
RGBrgb(37, 135, 43)
HSLhsl(124, 57%, 34%)
HSVhsv(124, 73%, 53%)
CMYKcmyk(72.6%, 0%, 68.1%, 47.1%)
CIE-LABlab(49.37, -46.80, 40.05)
CIE-LCHlch(49.37, 61.60, 139.45°)
OKLaboklab(54.81% -0.1268 0.0925)
OKLCHoklch(54.81% 0.157 143.9)
XYZxyz(9.8623, 17.8946, 5.2193)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25872B #872581
analogous
#508725 #25872B #25875C
triadic
#25872B #2B2587 #872B25
tetradic
#25872B #255087 #872581 #875C25
square
#25872B #255087 #872581 #875C25
split-complementary
#25872B #5C2587 #872550
monochromatic
#0B270C #18571C #25872B #32B73A #56D15D

Accessibility & contrast

On white

4.59
#25872B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#25872B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #25872B
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25872B#FFFFFF#000000##FFFFFF
##25872B1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1F
Deuteranopia (green-blind)
#7E7233
Tritanopia (blue-blind)
#018374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #25872b;
/* rgb */ color: rgb(37, 135, 43);
/* oklch */ color: oklch(54.8% 0.157 143.9);
Tailwind
colors: {
  custom: {
    50: '#6fab69',
    500: '#25872b',
    950: '#000000',
  },
}
SCSS
$custom: #25872b;
$custom-light: #6fab69;
$custom-dark: #000000;
JSON
{
  "hex": "#25872b",
  "rgb": {
    "r": 37,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 123.673,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54805,
    "c": 0.15696,
    "h": 143.9
  },
  "luminance": 0.17896
}

Semantic roles & 50–950 ramp

primary
#25872B
secondary
#B553AF
accent
#48D7E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #25872B

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

Preview Lab → · Contrast checker → · Palette generator →

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