#5C871E#5C871E

#5C871E is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.1% C 0.139 H 129.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5C871E
RGBrgb(92, 135, 30)
HSLhsl(85, 64%, 32%)
HSVhsv(85, 78%, 53%)
CMYKcmyk(31.9%, 0%, 77.8%, 47.1%)
CIE-LABlab(51.49, -31.26, 48.11)
CIE-LCHlch(51.49, 57.37, 123.01°)
OKLaboklab(57.13% -0.0891 0.1069)
OKLCHoklch(57.13% 0.139 129.8)
XYZxyz(13.3119, 19.6966, 4.3285)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C871E #491E87
analogous
#877D1E #5C871E #28871E
triadic
#5C871E #1E5C87 #871E5C
tetradic
#5C871E #1E877D #491E87 #871E28
square
#5C871E #1E877D #491E87 #871E28
split-complementary
#5C871E #1E2887 #7D1E87
monochromatic
#182308 #3A5513 #5C871E #7EB929 #9DD749

Accessibility & contrast

On white

4.25
#5C871E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5C871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C871E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C871E#FFFFFF#000000##000000
##5C871E1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D05
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#5F8173
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5c871e;
/* rgb */ color: rgb(92, 135, 30);
/* oklch */ color: oklch(57.1% 0.139 129.8);
Tailwind
colors: {
  custom: {
    50: '#8eaa62',
    500: '#5c871e',
    950: '#000000',
  },
}
SCSS
$custom: #5c871e;
$custom-light: #8eaa62;
$custom-dark: #000000;
JSON
{
  "hex": "#5c871e",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 84.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57129,
    "c": 0.13916,
    "h": 129.8
  },
  "luminance": 0.19697
}

Semantic roles & 50–950 ramp

primary
#5C871E
secondary
#7648B9
accent
#41E785
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C871E

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

Preview Lab → · Contrast checker → · Palette generator →

#5C871E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva