#5C8727#5C8727

#5C8727 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.2% C 0.133 H 130.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5C8727
RGBrgb(92, 135, 39)
HSLhsl(87, 55%, 34%)
HSVhsv(87, 71%, 53%)
CMYKcmyk(31.9%, 0%, 71.1%, 47.1%)
CIE-LABlab(51.55, -30.66, 44.74)
CIE-LCHlch(51.55, 54.24, 124.42°)
OKLaboklab(57.2% -0.0867 0.1013)
OKLCHoklch(57.2% 0.133 130.6)
XYZxyz(13.4437, 19.7493, 5.0227)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8727 #522787
analogous
#878227 #5C8727 #2C8727
triadic
#5C8727 #275C87 #87275C
tetradic
#5C8727 #278782 #522787 #87272C
square
#5C8727 #278782 #522787 #87272C
split-complementary
#5C8727 #272C87 #822787
monochromatic
#1B280C #3C5819 #5C8727 #7CB635 #9ACF59

Accessibility & contrast

On white

4.24
#5C8727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5C8727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8727
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8727#FFFFFF#000000##000000
##5C87271.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D18
Deuteranopia (green-blind)
#877A2F
Tritanopia (blue-blind)
#5E8174
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5c8727;
/* rgb */ color: rgb(92, 135, 39);
/* oklch */ color: oklch(57.2% 0.133 130.6);
Tailwind
colors: {
  custom: {
    50: '#8eaa67',
    500: '#5c8727',
    950: '#000000',
  },
}
SCSS
$custom: #5c8727;
$custom-light: #8eaa67;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8727",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 86.875,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57198,
    "c": 0.13333,
    "h": 130.6
  },
  "luminance": 0.1975
}

Semantic roles & 50–950 ramp

primary
#5C8727
secondary
#8056B4
accent
#49DF8C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1006
muted
#7D7F7A

Preview Lab

Preview with #5C8727

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

Preview Lab → · Contrast checker → · Palette generator →

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