#5C8D29#5C8D29

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

Color values

HEX#5C8D29
RGBrgb(92, 141, 41)
HSLhsl(89, 55%, 36%)
HSVhsv(89, 71%, 55%)
CMYKcmyk(34.8%, 0%, 70.9%, 44.7%)
CIE-LABlab(53.48, -33.29, 45.90)
CIE-LCHlch(53.48, 56.71, 125.95°)
OKLaboklab(58.77% -0.0937 0.104)
OKLCHoklch(58.77% 0.14 132)
XYZxyz(14.3386, 21.4846, 5.4889)
Luminance0.2149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D29 #5A298D
analogous
#8D8C29 #5C8D29 #2A8D29
triadic
#5C8D29 #295C8D #8D295C
tetradic
#5C8D29 #298D8C #5A298D #8D292A
square
#5C8D29 #298D8C #5A298D #8D292A
split-complementary
#5C8D29 #292A8D #8C298D
monochromatic
#1E2E0D #3D5E1B #5C8D29 #7BBC37 #99D160

Accessibility & contrast

On white

3.96
#5C8D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5C8D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8D29
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8D29#FFFFFF#000000##000000
##5C8D291.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821A
Deuteranopia (green-blind)
#8C7E32
Tritanopia (blue-blind)
#5D8779
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8d29;
/* rgb */ color: rgb(92, 141, 41);
/* oklch */ color: oklch(58.8% 0.140 132.0);
Tailwind
colors: {
  custom: {
    50: '#8eae69',
    500: '#5c8d29',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d29;
$custom-light: #8eae69;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d29",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 89.4,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58769,
    "c": 0.14002,
    "h": 132
  },
  "luminance": 0.21485
}

Semantic roles & 50–950 ramp

primary
#5C8D29
secondary
#885BB6
accent
#4ADE92
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5C8D29

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

Preview Lab → · Contrast checker → · Palette generator →

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