#25771C#25771C

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

Color values

HEX#25771C
RGBrgb(37, 119, 28)
HSLhsl(114, 62%, 29%)
HSVhsv(114, 76%, 47%)
CMYKcmyk(68.9%, 0%, 76.5%, 53.3%)
CIE-LABlab(43.76, -42.45, 40.43)
CIE-LCHlch(43.76, 58.63, 136.40°)
OKLaboklab(50.11% -0.1158 0.0914)
OKLCHoklch(50.11% 0.148 141.7)
XYZxyz(7.5690, 13.6700, 3.3381)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25771C #6E1C77
analogous
#53771C #25771C #1C7741
triadic
#25771C #1C2577 #771C25
tetradic
#25771C #1C5377 #6E1C77 #77411C
square
#25771C #1C5377 #6E1C77 #77411C
split-complementary
#25771C #411C77 #771C53
monochromatic
#081906 #164510 #25771C #34A928 #4BD13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##25771C#FFFFFF#000000##FFFFFF
##25771C1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25771c;
/* rgb */ color: rgb(37, 119, 28);
/* oklch */ color: oklch(50.1% 0.148 141.7);
Tailwind
colors: {
  custom: {
    50: '#6c9f5f',
    500: '#25771c',
    950: '#000000',
  },
}
SCSS
$custom: #25771c;
$custom-light: #6c9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#25771c",
  "rgb": {
    "r": 37,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 114.066,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50115,
    "c": 0.14751,
    "h": 141.7
  },
  "luminance": 0.13671
}

Semantic roles & 50–950 ramp

primary
#25771C
secondary
#A144AB
accent
#43E5D5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080F05
muted
#7A7E79

Preview Lab

Preview with #25771C

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

Preview Lab → · Contrast checker → · Palette generator →

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