#25942D#25942D

#25942D is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.5% C 0.171 H 143.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#25942D
RGBrgb(37, 148, 45)
HSLhsl(124, 60%, 36%)
HSVhsv(124, 75%, 58%)
CMYKcmyk(75%, 0%, 69.6%, 42%)
CIE-LABlab(53.77, -51.13, 43.94)
CIE-LCHlch(53.77, 67.42, 139.33°)
OKLaboklab(58.46% -0.1384 0.101)
OKLCHoklch(58.46% 0.171 143.9)
XYZxyz(11.8257, 21.7612, 6.0592)
Luminance0.2176 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25942D #94258C
analogous
#559425 #25942D #259465
triadic
#25942D #2D2594 #942D25
tetradic
#25942D #255594 #94258C #946525
square
#25942D #255594 #94258C #946525
split-complementary
#25942D #652594 #942555
monochromatic
#0D320F #19631E #25942D #31C53C #5DD666

Accessibility & contrast

On white

3.92
#25942D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#25942D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #25942D
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25942D#FFFFFF#000000##000000
##25942D1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861E
Deuteranopia (green-blind)
#8A7D37
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #25942d;
/* rgb */ color: rgb(37, 148, 45);
/* oklch */ color: oklch(58.5% 0.171 143.9);
Tailwind
colors: {
  custom: {
    50: '#72b46b',
    500: '#25942d',
    950: '#000000',
  },
}
SCSS
$custom: #25942d;
$custom-light: #72b46b;
$custom-dark: #000000;
JSON
{
  "hex": "#25942d",
  "rgb": {
    "r": 37,
    "g": 148,
    "b": 45
  },
  "hsl": {
    "h": 124.324,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58464,
    "c": 0.17134,
    "h": 143.9
  },
  "luminance": 0.21763
}

Semantic roles & 50–950 ramp

primary
#25942D
secondary
#BB59B4
accent
#45D8E3
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #25942D

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

Preview Lab → · Contrast checker → · Palette generator →

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