#25791B#25791B

#25791B is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.151 H 141.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#25791B
RGBrgb(37, 121, 27)
HSLhsl(114, 64%, 29%)
HSVhsv(114, 78%, 47%)
CMYKcmyk(69.4%, 0%, 77.7%, 52.5%)
CIE-LABlab(44.44, -43.27, 41.50)
CIE-LCHlch(44.44, 59.95, 136.19°)
OKLaboklab(50.68% -0.118 0.0935)
OKLCHoklch(50.68% 0.151 141.6)
XYZxyz(7.7977, 14.1464, 3.3563)
Luminance0.1415 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25791B #6F1B79
analogous
#54791B #25791B #1B7940
triadic
#25791B #1B2579 #791B25
tetradic
#25791B #1B5479 #6F1B79 #79401B
square
#25791B #1B5479 #6F1B79 #79401B
split-complementary
#25791B #401B79 #791B54
monochromatic
#081906 #164710 #25791B #34AB26 #4BD33B

Accessibility & contrast

On white

5.48
#25791B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#25791B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25791B
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25791B#FFFFFF#000000##FFFFFF
##25791B1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D07
Deuteranopia (green-blind)
#726725
Tritanopia (blue-blind)
#137567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #25791b;
/* rgb */ color: rgb(37, 121, 27);
/* oklch */ color: oklch(50.7% 0.151 141.6);
Tailwind
colors: {
  custom: {
    50: '#6da15e',
    500: '#25791b',
    950: '#000000',
  },
}
SCSS
$custom: #25791b;
$custom-light: #6da15e;
$custom-dark: #000000;
JSON
{
  "hex": "#25791b",
  "rgb": {
    "r": 37,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 113.617,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50682,
    "c": 0.15056,
    "h": 141.6
  },
  "luminance": 0.14147
}

Semantic roles & 50–950 ramp

primary
#25791B
secondary
#A243AD
accent
#41E7D5
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #25791B

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

Preview Lab → · Contrast checker → · Palette generator →

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