#5C8522#5C8522

#5C8522 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.6% C 0.134 H 129.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5C8522
RGBrgb(92, 133, 34)
HSLhsl(85, 59%, 33%)
HSVhsv(85, 74%, 52%)
CMYKcmyk(30.8%, 0%, 74.4%, 47.8%)
CIE-LABlab(50.88, -30.07, 46.05)
CIE-LCHlch(50.88, 55.00, 123.15°)
OKLaboklab(56.64% -0.0855 0.1032)
OKLCHoklch(56.64% 0.134 129.6)
XYZxyz(13.0898, 19.1655, 4.5227)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8522 #4B2285
analogous
#857C22 #5C8522 #2B8522
triadic
#5C8522 #225C85 #85225C
tetradic
#5C8522 #22857C #4B2285 #85222B
square
#5C8522 #22857C #4B2285 #85222B
split-complementary
#5C8522 #222B85 #7C2285
monochromatic
#192409 #3A5416 #5C8522 #7EB62E #9CD24F

Accessibility & contrast

On white

4.34
#5C8522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5C8522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8522
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8522#FFFFFF#000000##000000
##5C85221.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B10
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#5F7F72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5c8522;
/* rgb */ color: rgb(92, 133, 34);
/* oklch */ color: oklch(56.6% 0.134 129.6);
Tailwind
colors: {
  custom: {
    50: '#8ea864',
    500: '#5c8522',
    950: '#000000',
  },
}
SCSS
$custom: #5c8522;
$custom-light: #8ea864;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8522",
  "rgb": {
    "r": 92,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 84.848,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56639,
    "c": 0.13407,
    "h": 129.6
  },
  "luminance": 0.19166
}

Semantic roles & 50–950 ramp

primary
#5C8522
secondary
#784DB6
accent
#45E286
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F06
muted
#7D7F7A

Preview Lab

Preview with #5C8522

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

Preview Lab → · Contrast checker → · Palette generator →

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