#25981F#25981F

#25981F is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.5% C 0.184 H 142.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#25981F
RGBrgb(37, 152, 31)
HSLhsl(117, 66%, 36%)
HSVhsv(117, 80%, 60%)
CMYKcmyk(75.7%, 0%, 79.6%, 40.4%)
CIE-LABlab(55.02, -53.63, 50.44)
CIE-LCHlch(55.02, 73.63, 136.76°)
OKLaboklab(59.47% -0.1459 0.1127)
OKLCHoklch(59.47% 0.184 142.3)
XYZxyz(12.2378, 22.9473, 5.0804)
Luminance0.2295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25981F #921F98
analogous
#61981F #25981F #1F9855
triadic
#25981F #1F2598 #981F25
tetradic
#25981F #1F6198 #921F98 #98551F
square
#25981F #1F6198 #921F98 #98551F
split-complementary
#25981F #551F98 #981F61
monochromatic
#0C320A #196515 #25981F #31CB29 #5CDC55

Accessibility & contrast

On white

3.76
#25981F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#25981F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #25981F
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25981F#FFFFFF#000000##000000
##25981F1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#8F802D
Tritanopia (blue-blind)
#009381
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #25981f;
/* rgb */ color: rgb(37, 152, 31);
/* oklch */ color: oklch(59.5% 0.184 142.3);
Tailwind
colors: {
  custom: {
    50: '#74b765',
    500: '#25981f',
    950: '#000000',
  },
}
SCSS
$custom: #25981f;
$custom-light: #74b765;
$custom-dark: #000000;
JSON
{
  "hex": "#25981f",
  "rgb": {
    "r": 37,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 117.025,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59468,
    "c": 0.18433,
    "h": 142.3
  },
  "luminance": 0.22949
}

Semantic roles & 50–950 ramp

primary
#25981F
secondary
#BA53C0
accent
#3FE9E1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #25981F

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

Preview Lab → · Contrast checker → · Palette generator →

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