#5C8722#5C8722

#5C8722 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.2% C 0.137 H 130.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5C8722
RGBrgb(92, 135, 34)
HSLhsl(86, 60%, 33%)
HSVhsv(86, 75%, 53%)
CMYKcmyk(31.9%, 0%, 74.8%, 47.1%)
CIE-LABlab(51.52, -31.01, 46.68)
CIE-LCHlch(51.52, 56.04, 123.60°)
OKLaboklab(57.16% -0.0881 0.1046)
OKLCHoklch(57.16% 0.137 130.1)
XYZxyz(13.3663, 19.7183, 4.6148)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8722 #4D2287
analogous
#877F22 #5C8722 #298722
triadic
#5C8722 #225C87 #87225C
tetradic
#5C8722 #22877F #4D2287 #872229
square
#5C8722 #22877F #4D2287 #872229
split-complementary
#5C8722 #222987 #7F2287
monochromatic
#192509 #3B5616 #5C8722 #7DB82E #9BD350

Accessibility & contrast

On white

4.25
#5C8722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5C8722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8722
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8722#FFFFFF#000000##000000
##5C87221.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0F
Deuteranopia (green-blind)
#877A2B
Tritanopia (blue-blind)
#5E8173
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5c8722;
/* rgb */ color: rgb(92, 135, 34);
/* oklch */ color: oklch(57.2% 0.137 130.1);
Tailwind
colors: {
  custom: {
    50: '#8eaa64',
    500: '#5c8722',
    950: '#000000',
  },
}
SCSS
$custom: #5c8722;
$custom-light: #8eaa64;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8722",
  "rgb": {
    "r": 92,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 85.545,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57158,
    "c": 0.13672,
    "h": 130.1
  },
  "luminance": 0.19719
}

Semantic roles & 50–950 ramp

primary
#5C8722
secondary
#7B4EB7
accent
#45E388
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5C8722

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

Preview Lab → · Contrast checker → · Palette generator →

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