#25842F#25842F

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

Color values

HEX#25842F
RGBrgb(37, 132, 47)
HSLhsl(126, 56%, 33%)
HSVhsv(126, 72%, 52%)
CMYKcmyk(72%, 0%, 64.4%, 48.2%)
CIE-LABlab(48.39, -45.27, 37.14)
CIE-LCHlch(48.39, 58.55, 140.64°)
OKLaboklab(54% -0.1224 0.0868)
OKLCHoklch(54% 0.15 144.7)
XYZxyz(9.5267, 17.1000, 5.4873)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25842F #84257A
analogous
#4A8425 #25842F #25845E
triadic
#25842F #2F2584 #842F25
tetradic
#25842F #254A84 #84257A #845E25
square
#25842F #254A84 #84257A #845E25
split-complementary
#25842F #5E2584 #84254A
monochromatic
#0A240D #18541E #25842F #32B440 #54CF61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##25842F#FFFFFF#000000##FFFFFF
##25842F1.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)
#867825
Deuteranopia (green-blind)
#7B7036
Tritanopia (blue-blind)
#018072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #25842f;
/* rgb */ color: rgb(37, 132, 47);
/* oklch */ color: oklch(54.0% 0.150 144.7);
Tailwind
colors: {
  custom: {
    50: '#6ea96b',
    500: '#25842f',
    950: '#000000',
  },
}
SCSS
$custom: #25842f;
$custom-light: #6ea96b;
$custom-dark: #000000;
JSON
{
  "hex": "#25842f",
  "rgb": {
    "r": 37,
    "g": 132,
    "b": 47
  },
  "hsl": {
    "h": 126.316,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54003,
    "c": 0.15006,
    "h": 144.7
  },
  "luminance": 0.17101
}

Semantic roles & 50–950 ramp

primary
#25842F
secondary
#B351A9
accent
#48D0E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #25842F

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

Preview Lab → · Contrast checker → · Palette generator →

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