#25942B#25942B

#25942B is a mid, vivid green. Relative luminance 0.217; OKLCH L 58.4% C 0.173 H 143.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#25942B
RGBrgb(37, 148, 43)
HSLhsl(123, 60%, 36%)
HSVhsv(123, 75%, 58%)
CMYKcmyk(75%, 0%, 70.9%, 42%)
CIE-LABlab(53.76, -51.33, 44.75)
CIE-LCHlch(53.76, 68.10, 138.91°)
OKLaboklab(58.45% -0.139 0.1024)
OKLCHoklch(58.45% 0.173 143.6)
XYZxyz(11.7881, 21.7462, 5.8612)
Luminance0.2175 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25942B #94258E
analogous
#579425 #25942B #259463
triadic
#25942B #2B2594 #942B25
tetradic
#25942B #255794 #94258E #946325
square
#25942B #255794 #94258E #946325
split-complementary
#25942B #632594 #942557
monochromatic
#0D320F #19631D #25942B #31C539 #5DD663

Accessibility & contrast

On white

3.93
#25942B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##25942B#FFFFFF#000000##000000
##25942B1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25942b;
/* rgb */ color: rgb(37, 148, 43);
/* oklch */ color: oklch(58.4% 0.173 143.6);
Tailwind
colors: {
  custom: {
    50: '#72b46a',
    500: '#25942b',
    950: '#000000',
  },
}
SCSS
$custom: #25942b;
$custom-light: #72b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#25942b",
  "rgb": {
    "r": 37,
    "g": 148,
    "b": 43
  },
  "hsl": {
    "h": 123.243,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58445,
    "c": 0.1727,
    "h": 143.6
  },
  "luminance": 0.21748
}

Semantic roles & 50–950 ramp

primary
#25942B
secondary
#BB59B6
accent
#45DBE3
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #25942B

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

Preview Lab → · Contrast checker → · Palette generator →

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