#25942F#25942F

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

Color values

HEX#25942F
RGBrgb(37, 148, 47)
HSLhsl(125, 60%, 36%)
HSVhsv(125, 75%, 58%)
CMYKcmyk(75%, 0%, 68.2%, 42%)
CIE-LABlab(53.79, -50.93, 43.11)
CIE-LCHlch(53.79, 66.72, 139.75°)
OKLaboklab(58.48% -0.1378 0.0995)
OKLCHoklch(58.48% 0.17 144.2)
XYZxyz(11.8652, 21.7770, 6.2668)
Luminance0.2178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25942F #94258A
analogous
#539425 #25942F #259467
triadic
#25942F #2F2594 #942F25
tetradic
#25942F #255394 #94258A #946725
square
#25942F #255394 #94258A #946725
split-complementary
#25942F #672594 #942553
monochromatic
#0D3210 #19631F #25942F #31C53F #5DD668

Accessibility & contrast

On white

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

On black

5.36
#25942F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #25942F
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25942F#FFFFFF#000000##000000
##25942F1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978621
Deuteranopia (green-blind)
#8A7D38
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #25942f;
/* rgb */ color: rgb(37, 148, 47);
/* oklch */ color: oklch(58.5% 0.170 144.2);
Tailwind
colors: {
  custom: {
    50: '#72b46d',
    500: '#25942f',
    950: '#000000',
  },
}
SCSS
$custom: #25942f;
$custom-light: #72b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#25942f",
  "rgb": {
    "r": 37,
    "g": 148,
    "b": 47
  },
  "hsl": {
    "h": 125.405,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58483,
    "c": 0.16992,
    "h": 144.2
  },
  "luminance": 0.21778
}

Semantic roles & 50–950 ramp

primary
#25942F
secondary
#BB59B3
accent
#45D5E3
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #25942F

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

Preview Lab → · Contrast checker → · Palette generator →

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