#5C8B27#5C8B27

#5C8B27 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.2% C 0.139 H 131.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5C8B27
RGBrgb(92, 139, 39)
HSLhsl(88, 56%, 35%)
HSVhsv(88, 72%, 55%)
CMYKcmyk(33.8%, 0%, 71.9%, 45.5%)
CIE-LABlab(52.83, -32.52, 46.04)
CIE-LCHlch(52.83, 56.37, 125.24°)
OKLaboklab(58.23% -0.0918 0.104)
OKLCHoklch(58.23% 0.139 131.4)
XYZxyz(14.0123, 20.8865, 5.2123)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8B27 #56278B
analogous
#8B8827 #5C8B27 #2A8B27
triadic
#5C8B27 #275C8B #8B275C
tetradic
#5C8B27 #278B88 #56278B #8B272A
square
#5C8B27 #278B88 #56278B #8B272A
split-complementary
#5C8B27 #272A8B #88278B
monochromatic
#1D2B0C #3C5B1A #5C8B27 #7CBB34 #9AD15B

Accessibility & contrast

On white

4.06
#5C8B27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5C8B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8B27
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8B27#FFFFFF#000000##000000
##5C8B271.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918017
Deuteranopia (green-blind)
#8B7D30
Tritanopia (blue-blind)
#5E8577
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c8b27;
/* rgb */ color: rgb(92, 139, 39);
/* oklch */ color: oklch(58.2% 0.139 131.4);
Tailwind
colors: {
  custom: {
    50: '#8ead68',
    500: '#5c8b27',
    950: '#000000',
  },
}
SCSS
$custom: #5c8b27;
$custom-light: #8ead68;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8b27",
  "rgb": {
    "r": 92,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 88.2,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58234,
    "c": 0.13873,
    "h": 131.4
  },
  "luminance": 0.20887
}

Semantic roles & 50–950 ramp

primary
#5C8B27
secondary
#8458B6
accent
#48DF8F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8B27

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

Preview Lab → · Contrast checker → · Palette generator →

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