#25951F#25951F

#25951F is a mid, vivid green. Relative luminance 0.220; OKLCH L 58.6% C 0.181 H 142.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#25951F
RGBrgb(37, 149, 31)
HSLhsl(117, 66%, 35%)
HSVhsv(117, 79%, 58%)
CMYKcmyk(75.2%, 0%, 79.2%, 41.6%)
CIE-LABlab(54.01, -52.65, 49.47)
CIE-LCHlch(54.01, 72.25, 136.78°)
OKLaboklab(58.63% -0.1432 0.1107)
OKLCHoklch(58.63% 0.181 142.3)
XYZxyz(11.7570, 21.9858, 4.9201)
Luminance0.2199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25951F #8F1F95
analogous
#60951F #25951F #1F9554
triadic
#25951F #1F2595 #951F25
tetradic
#25951F #1F6095 #8F1F95 #95541F
square
#25951F #1F6095 #8F1F95 #95541F
split-complementary
#25951F #541F95 #951F60
monochromatic
#0C300A #186214 #25951F #32C82A #5ADB53

Accessibility & contrast

On white

3.89
#25951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#25951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #25951F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25951F#FFFFFF#000000##000000
##25951F1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25951f;
/* rgb */ color: rgb(37, 149, 31);
/* oklch */ color: oklch(58.6% 0.181 142.3);
Tailwind
colors: {
  custom: {
    50: '#73b564',
    500: '#25951f',
    950: '#000000',
  },
}
SCSS
$custom: #25951f;
$custom-light: #73b564;
$custom-dark: #000000;
JSON
{
  "hex": "#25951f",
  "rgb": {
    "r": 37,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 116.949,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58632,
    "c": 0.18099,
    "h": 142.3
  },
  "luminance": 0.21987
}

Semantic roles & 50–950 ramp

primary
#25951F
secondary
#B951BF
accent
#3FE9E0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #25951F

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

Preview Lab → · Contrast checker → · Palette generator →

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