#5C8D27#5C8D27

#5C8D27 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.8% C 0.141 H 131.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5C8D27
RGBrgb(92, 141, 39)
HSLhsl(89, 57%, 35%)
HSVhsv(89, 72%, 55%)
CMYKcmyk(34.8%, 0%, 72.3%, 44.7%)
CIE-LABlab(53.46, -33.44, 46.69)
CIE-LCHlch(53.46, 57.43, 125.61°)
OKLaboklab(58.75% -0.0943 0.1054)
OKLCHoklch(58.75% 0.141 131.8)
XYZxyz(14.3046, 21.4710, 5.3097)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D27 #58278D
analogous
#8D8B27 #5C8D27 #298D27
triadic
#5C8D27 #275C8D #8D275C
tetradic
#5C8D27 #278D8B #58278D #8D2729
square
#5C8D27 #278D8B #58278D #8D2729
split-complementary
#5C8D27 #27298D #8B278D
monochromatic
#1D2D0C #3D5D1A #5C8D27 #7BBD34 #9AD25C

Accessibility & contrast

On white

3.97
#5C8D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5C8D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8D27
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8D27#FFFFFF#000000##000000
##5C8D271.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938216
Deuteranopia (green-blind)
#8C7E30
Tritanopia (blue-blind)
#5D8779
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8d27;
/* rgb */ color: rgb(92, 141, 39);
/* oklch */ color: oklch(58.8% 0.141 131.8);
Tailwind
colors: {
  custom: {
    50: '#8eae68',
    500: '#5c8d27',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d27;
$custom-light: #8eae68;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d27",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 88.824,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58752,
    "c": 0.1414,
    "h": 131.8
  },
  "luminance": 0.21472
}

Semantic roles & 50–950 ramp

primary
#5C8D27
secondary
#8659B7
accent
#48E091
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8D27

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

Preview Lab → · Contrast checker → · Palette generator →

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