#25771B#25771B

#25771B is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.148 H 141.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#25771B
RGBrgb(37, 119, 27)
HSLhsl(113, 63%, 29%)
HSVhsv(113, 77%, 47%)
CMYKcmyk(68.9%, 0%, 77.3%, 53.3%)
CIE-LABlab(43.75, -42.54, 40.81)
CIE-LCHlch(43.75, 58.95, 136.19°)
OKLaboklab(50.11% -0.1161 0.092)
OKLCHoklch(50.11% 0.148 141.6)
XYZxyz(7.5572, 13.6653, 3.2761)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25771B #6D1B77
analogous
#53771B #25771B #1B773F
triadic
#25771B #1B2577 #771B25
tetradic
#25771B #1B5377 #6D1B77 #773F1B
square
#25771B #1B5377 #6D1B77 #773F1B
split-complementary
#25771B #3F1B77 #771B53
monochromatic
#081906 #154510 #25771B #35A926 #4BD23A

Accessibility & contrast

On white

5.63
#25771B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#25771B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25771B
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25771B#FFFFFF#000000##FFFFFF
##25771B1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B09
Deuteranopia (green-blind)
#706525
Tritanopia (blue-blind)
#147365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #25771b;
/* rgb */ color: rgb(37, 119, 27);
/* oklch */ color: oklch(50.1% 0.148 141.6);
Tailwind
colors: {
  custom: {
    50: '#6c9f5e',
    500: '#25771b',
    950: '#000000',
  },
}
SCSS
$custom: #25771b;
$custom-light: #6c9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#25771b",
  "rgb": {
    "r": 37,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 113.478,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50107,
    "c": 0.14813,
    "h": 141.6
  },
  "luminance": 0.13666
}

Semantic roles & 50–950 ramp

primary
#25771B
secondary
#A042AB
accent
#42E6D4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080F05
muted
#7A7E79

Preview Lab

Preview with #25771B

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

Preview Lab → · Contrast checker → · Palette generator →

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