#25942A#25942A

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

Color values

HEX#25942A
RGBrgb(37, 148, 42)
HSLhsl(123, 60%, 36%)
HSVhsv(123, 75%, 58%)
CMYKcmyk(75%, 0%, 71.6%, 42%)
CIE-LABlab(53.75, -51.42, 45.15)
CIE-LCHlch(53.75, 68.43, 138.71°)
OKLaboklab(58.44% -0.1393 0.1032)
OKLCHoklch(58.44% 0.173 143.5)
XYZxyz(11.7700, 21.7390, 5.7658)
Luminance0.2174 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25942A #94258F
analogous
#589425 #25942A #259462
triadic
#25942A #2A2594 #942A25
tetradic
#25942A #255894 #94258F #946225
square
#25942A #255894 #94258F #946225
split-complementary
#25942A #622594 #942558
monochromatic
#0D320E #19631C #25942A #31C538 #5DD662

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##25942A#FFFFFF#000000##000000
##25942A1.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)
#97861A
Deuteranopia (green-blind)
#8B7D34
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #25942a;
/* rgb */ color: rgb(37, 148, 42);
/* oklch */ color: oklch(58.4% 0.173 143.5);
Tailwind
colors: {
  custom: {
    50: '#72b46a',
    500: '#25942a',
    950: '#000000',
  },
}
SCSS
$custom: #25942a;
$custom-light: #72b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#25942a",
  "rgb": {
    "r": 37,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 122.703,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58436,
    "c": 0.17337,
    "h": 143.5
  },
  "luminance": 0.2174
}

Semantic roles & 50–950 ramp

primary
#25942A
secondary
#BB59B7
accent
#45DCE3
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #25942A

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

Preview Lab → · Contrast checker → · Palette generator →

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