#25771E#25771E

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

Color values

HEX#25771E
RGBrgb(37, 119, 30)
HSLhsl(115, 60%, 29%)
HSVhsv(115, 75%, 47%)
CMYKcmyk(68.9%, 0%, 74.8%, 53.3%)
CIE-LABlab(43.77, -42.28, 39.65)
CIE-LCHlch(43.77, 57.97, 136.84°)
OKLaboklab(50.13% -0.1152 0.0901)
OKLCHoklch(50.13% 0.146 142)
XYZxyz(7.5937, 13.6799, 3.4683)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25771E #701E77
analogous
#52771E #25771E #1E7744
triadic
#25771E #1E2577 #771E25
tetradic
#25771E #1E5277 #701E77 #77441E
square
#25771E #1E5277 #701E77 #77441E
split-complementary
#25771E #441E77 #771E52
monochromatic
#081806 #164612 #25771E #34A82A #4CCF40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##25771E#FFFFFF#000000##FFFFFF
##25771E1.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)
#7A6B0F
Deuteranopia (green-blind)
#706527
Tritanopia (blue-blind)
#137366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #25771e;
/* rgb */ color: rgb(37, 119, 30);
/* oklch */ color: oklch(50.1% 0.146 142.0);
Tailwind
colors: {
  custom: {
    50: '#6c9f60',
    500: '#25771e',
    950: '#000000',
  },
}
SCSS
$custom: #25771e;
$custom-light: #6c9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#25771e",
  "rgb": {
    "r": 37,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 115.281,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50132,
    "c": 0.14622,
    "h": 142
  },
  "luminance": 0.13681
}

Semantic roles & 50–950 ramp

primary
#25771E
secondary
#A346AB
accent
#45E3D6
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080F05
muted
#7A7E79

Preview Lab

Preview with #25771E

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

Preview Lab → · Contrast checker → · Palette generator →

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