#25841F#25841F

#25841F is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.8% C 0.161 H 142.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#25841F
RGBrgb(37, 132, 31)
HSLhsl(116, 62%, 32%)
HSVhsv(116, 77%, 52%)
CMYKcmyk(72%, 0%, 76.5%, 48.2%)
CIE-LABlab(48.25, -46.87, 43.81)
CIE-LCHlch(48.25, 64.16, 136.93°)
OKLaboklab(53.85% -0.1276 0.0989)
OKLCHoklch(53.85% 0.161 142.2)
XYZxyz(9.2610, 16.9938, 4.0881)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25841F #7E1F84
analogous
#57841F #25841F #1F844C
triadic
#25841F #1F2584 #841F25
tetradic
#25841F #1F5784 #7E1F84 #844C1F
square
#25841F #1F5784 #7E1F84 #844C1F
split-complementary
#25841F #4C1F84 #841F57
monochromatic
#092108 #175213 #25841F #33B62B #51D449

Accessibility & contrast

On white

4.77
#25841F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#25841F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25841F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25841F#FFFFFF#000000##FFFFFF
##25841F1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770B
Deuteranopia (green-blind)
#7C702A
Tritanopia (blue-blind)
#0A8071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #25841f;
/* rgb */ color: rgb(37, 132, 31);
/* oklch */ color: oklch(53.8% 0.161 142.2);
Tailwind
colors: {
  custom: {
    50: '#6fa962',
    500: '#25841f',
    950: '#000000',
  },
}
SCSS
$custom: #25841f;
$custom-light: #6fa962;
$custom-dark: #000000;
JSON
{
  "hex": "#25841f",
  "rgb": {
    "r": 37,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 116.436,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5385,
    "c": 0.16139,
    "h": 142.2
  },
  "luminance": 0.16995
}

Semantic roles & 50–950 ramp

primary
#25841F
secondary
#B048B7
accent
#43E5DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #25841F

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

Preview Lab → · Contrast checker → · Palette generator →

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