#25771F#25771F

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

Color values

HEX#25771F
RGBrgb(37, 119, 31)
HSLhsl(116, 59%, 29%)
HSVhsv(116, 74%, 47%)
CMYKcmyk(68.9%, 0%, 73.9%, 53.3%)
CIE-LABlab(43.78, -42.19, 39.25)
CIE-LCHlch(43.78, 57.63, 137.07°)
OKLaboklab(50.14% -0.1149 0.0894)
OKLCHoklch(50.14% 0.146 142.1)
XYZxyz(7.6067, 13.6851, 3.5367)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25771F #711F77
analogous
#51771F #25771F #1F7745
triadic
#25771F #1F2577 #771F25
tetradic
#25771F #1F5177 #711F77 #77451F
square
#25771F #1F5177 #711F77 #77451F
split-complementary
#25771F #451F77 #771F51
monochromatic
#081806 #164612 #25771F #34A82C #4CCE43

Accessibility & contrast

On white

5.62
#25771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#25771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #25771F
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25771F#FFFFFF#000000##FFFFFF
##25771F1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C11
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#137366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #25771f;
/* rgb */ color: rgb(37, 119, 31);
/* oklch */ color: oklch(50.1% 0.146 142.1);
Tailwind
colors: {
  custom: {
    50: '#6c9f60',
    500: '#25771f',
    950: '#000000',
  },
}
SCSS
$custom: #25771f;
$custom-light: #6c9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#25771f",
  "rgb": {
    "r": 37,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 115.909,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5014,
    "c": 0.14555,
    "h": 142.1
  },
  "luminance": 0.13686
}

Semantic roles & 50–950 ramp

primary
#25771F
secondary
#A447AB
accent
#46E2D7
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080F05
muted
#7A7E79

Preview Lab

Preview with #25771F

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

Preview Lab → · Contrast checker → · Palette generator →

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