#25842D#25842D

#25842D is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.152 H 144.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#25842D
RGBrgb(37, 132, 45)
HSLhsl(125, 56%, 33%)
HSVhsv(125, 72%, 52%)
CMYKcmyk(72%, 0%, 65.9%, 48.2%)
CIE-LABlab(48.37, -45.50, 38.04)
CIE-LCHlch(48.37, 59.31, 140.10°)
OKLaboklab(53.98% -0.1231 0.0885)
OKLCHoklch(53.98% 0.152 144.3)
XYZxyz(9.4873, 17.0843, 5.2797)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25842D #84257C
analogous
#4C8425 #25842D #25845C
triadic
#25842D #2D2584 #842D25
tetradic
#25842D #254C84 #84257C #845C25
square
#25842D #254C84 #84257C #845C25
split-complementary
#25842D #5C2584 #84254C
monochromatic
#0A240C #18541D #25842D #32B43D #54CF5F

Accessibility & contrast

On white

4.75
#25842D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#25842D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25842D
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25842D#FFFFFF#000000##FFFFFF
##25842D1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867823
Deuteranopia (green-blind)
#7B7035
Tritanopia (blue-blind)
#038072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #25842d;
/* rgb */ color: rgb(37, 132, 45);
/* oklch */ color: oklch(54.0% 0.152 144.3);
Tailwind
colors: {
  custom: {
    50: '#6ea96a',
    500: '#25842d',
    950: '#000000',
  },
}
SCSS
$custom: #25842d;
$custom-light: #6ea96a;
$custom-dark: #000000;
JSON
{
  "hex": "#25842d",
  "rgb": {
    "r": 37,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 125.053,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5398,
    "c": 0.15166,
    "h": 144.3
  },
  "luminance": 0.17085
}

Semantic roles & 50–950 ramp

primary
#25842D
secondary
#B351AB
accent
#48D3E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #25842D

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

Preview Lab → · Contrast checker → · Palette generator →

#25842D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva