#5C8A27#5C8A27

#5C8A27 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 58.0% C 0.137 H 131.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5C8A27
RGBrgb(92, 138, 39)
HSLhsl(88, 56%, 35%)
HSVhsv(88, 72%, 54%)
CMYKcmyk(33.3%, 0%, 71.7%, 45.9%)
CIE-LABlab(52.51, -32.06, 45.72)
CIE-LCHlch(52.51, 55.84, 125.04°)
OKLaboklab(57.98% -0.0905 0.1033)
OKLCHoklch(57.98% 0.137 131.2)
XYZxyz(13.8682, 20.5983, 5.1642)
Luminance0.2060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A27 #55278A
analogous
#8A8727 #5C8A27 #2A8A27
triadic
#5C8A27 #275C8A #8A275C
tetradic
#5C8A27 #278A87 #55278A #8A272A
square
#5C8A27 #278A87 #55278A #8A272A
split-complementary
#5C8A27 #272A8A #87278A
monochromatic
#1C2B0C #3C5A1A #5C8A27 #7CBA34 #9AD15B

Accessibility & contrast

On white

4.10
#5C8A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5C8A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8A27
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8A27#FFFFFF#000000##000000
##5C8A271.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908017
Deuteranopia (green-blind)
#8A7C30
Tritanopia (blue-blind)
#5E8476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5c8a27;
/* rgb */ color: rgb(92, 138, 39);
/* oklch */ color: oklch(58.0% 0.137 131.2);
Tailwind
colors: {
  custom: {
    50: '#8eac67',
    500: '#5c8a27',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a27;
$custom-light: #8eac67;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a27",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 87.879,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57975,
    "c": 0.13738,
    "h": 131.2
  },
  "luminance": 0.20599
}

Semantic roles & 50–950 ramp

primary
#5C8A27
secondary
#8357B6
accent
#49DF8F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8A27

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

Preview Lab → · Contrast checker → · Palette generator →

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