#5C8D2A#5C8D2A

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

Color values

HEX#5C8D2A
RGBrgb(92, 141, 42)
HSLhsl(90, 54%, 36%)
HSVhsv(90, 70%, 55%)
CMYKcmyk(34.8%, 0%, 70.2%, 44.7%)
CIE-LABlab(53.48, -33.22, 45.50)
CIE-LCHlch(53.48, 56.34, 126.13°)
OKLaboklab(58.78% -0.0934 0.1033)
OKLCHoklch(58.78% 0.139 132.1)
XYZxyz(14.3562, 21.4917, 5.5819)
Luminance0.2149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D2A #5B2A8D
analogous
#8D8C2A #5C8D2A #2A8D2A
triadic
#5C8D2A #2A5C8D #8D2A5C
tetradic
#5C8D2A #2A8D8C #5B2A8D #8D2A2A
square
#5C8D2A #2A8D8C #5B2A8D #8D2A2A
split-complementary
#5C8D2A #2A2A8D #8C2A8D
monochromatic
#1E2F0E #3D5E1C #5C8D2A #7BBC38 #99D061

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8D2A#FFFFFF#000000##000000
##5C8D2A1.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)
#93821B
Deuteranopia (green-blind)
#8C7E33
Tritanopia (blue-blind)
#5D8779
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8d2a;
/* rgb */ color: rgb(92, 141, 42);
/* oklch */ color: oklch(58.8% 0.139 132.1);
Tailwind
colors: {
  custom: {
    50: '#8eae69',
    500: '#5c8d2a',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d2a;
$custom-light: #8eae69;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d2a",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 89.697,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58778,
    "c": 0.1393,
    "h": 132.1
  },
  "luminance": 0.21492
}

Semantic roles & 50–950 ramp

primary
#5C8D2A
secondary
#895DB6
accent
#4ADD93
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5C8D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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