#25872A#25872A

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

Color values

HEX#25872A
RGBrgb(37, 135, 42)
HSLhsl(123, 57%, 34%)
HSVhsv(123, 73%, 53%)
CMYKcmyk(72.6%, 0%, 68.9%, 47.1%)
CIE-LABlab(49.36, -46.91, 40.48)
CIE-LCHlch(49.36, 61.96, 139.21°)
OKLaboklab(54.8% -0.1271 0.0933)
OKLCHoklch(54.8% 0.158 143.7)
XYZxyz(9.8442, 17.8873, 5.1238)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25872A #872582
analogous
#518725 #25872A #25875B
triadic
#25872A #2A2587 #872A25
tetradic
#25872A #255187 #872582 #875B25
square
#25872A #255187 #872582 #875B25
split-complementary
#25872A #5B2587 #872551
monochromatic
#0B270C #18571B #25872A #32B739 #56D15C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##25872A#FFFFFF#000000##FFFFFF
##25872A1.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)
#8A7A1D
Deuteranopia (green-blind)
#7E7233
Tritanopia (blue-blind)
#028374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #25872a;
/* rgb */ color: rgb(37, 135, 42);
/* oklch */ color: oklch(54.8% 0.158 143.7);
Tailwind
colors: {
  custom: {
    50: '#6fab68',
    500: '#25872a',
    950: '#000000',
  },
}
SCSS
$custom: #25872a;
$custom-light: #6fab68;
$custom-dark: #000000;
JSON
{
  "hex": "#25872a",
  "rgb": {
    "r": 37,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 123.061,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54795,
    "c": 0.1577,
    "h": 143.7
  },
  "luminance": 0.17888
}

Semantic roles & 50–950 ramp

primary
#25872A
secondary
#B553B0
accent
#48D8E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #25872A

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

Preview Lab → · Contrast checker → · Palette generator →

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