#5C8D26#5C8D26

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

Color values

HEX#5C8D26
RGBrgb(92, 141, 38)
HSLhsl(89, 58%, 35%)
HSVhsv(89, 73%, 55%)
CMYKcmyk(34.8%, 0%, 73%, 44.7%)
CIE-LABlab(53.45, -33.51, 47.08)
CIE-LCHlch(53.45, 57.79, 125.45°)
OKLaboklab(58.74% -0.0946 0.106)
OKLCHoklch(58.74% 0.142 131.7)
XYZxyz(14.2882, 21.4645, 5.2236)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D26 #57268D
analogous
#8D8B26 #5C8D26 #288D26
triadic
#5C8D26 #265C8D #8D265C
tetradic
#5C8D26 #268D8B #57268D #8D2628
square
#5C8D26 #268D8B #57268D #8D2628
split-complementary
#5C8D26 #26288D #8B268D
monochromatic
#1D2D0C #3D5D19 #5C8D26 #7BBD33 #9AD35B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8D26#FFFFFF#000000##000000
##5C8D261.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)
#938214
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#5D8779
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8d26;
/* rgb */ color: rgb(92, 141, 38);
/* oklch */ color: oklch(58.7% 0.142 131.7);
Tailwind
colors: {
  custom: {
    50: '#8eae67',
    500: '#5c8d26',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d26;
$custom-light: #8eae67;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d26",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 88.544,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58744,
    "c": 0.14208,
    "h": 131.7
  },
  "luminance": 0.21465
}

Semantic roles & 50–950 ramp

primary
#5C8D26
secondary
#8557B8
accent
#47E190
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8D26

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

Preview Lab → · Contrast checker → · Palette generator →

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