#5C8D2D#5C8D2D

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

Color values

HEX#5C8D2D
RGBrgb(92, 141, 45)
HSLhsl(91, 52%, 36%)
HSVhsv(91, 68%, 55%)
CMYKcmyk(34.8%, 0%, 68.1%, 44.7%)
CIE-LABlab(53.51, -32.98, 44.26)
CIE-LCHlch(53.51, 55.20, 126.69°)
OKLaboklab(58.8% -0.0925 0.1011)
OKLCHoklch(58.8% 0.137 132.5)
XYZxyz(14.4120, 21.5140, 5.8754)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D2D #5E2D8D
analogous
#8C8D2D #5C8D2D #2D8D2E
triadic
#5C8D2D #2D5C8D #8D2D5C
tetradic
#5C8D2D #2D8C8D #5E2D8D #8D2E2D
square
#5C8D2D #2D8C8D #5E2D8D #8D2E2D
split-complementary
#5C8D2D #2E2D8D #8D2D8C
monochromatic
#1F300F #3E5F1E #5C8D2D #7ABB3C #99CE66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8D2D#FFFFFF#000000##000000
##5C8D2D1.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)
#938220
Deuteranopia (green-blind)
#8C7E35
Tritanopia (blue-blind)
#5D8779
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8d2d;
/* rgb */ color: rgb(92, 141, 45);
/* oklch */ color: oklch(58.8% 0.137 132.5);
Tailwind
colors: {
  custom: {
    50: '#8eae6b',
    500: '#5c8d2d',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d2d;
$custom-light: #8eae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d2d",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 90.625,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58805,
    "c": 0.13708,
    "h": 132.5
  },
  "luminance": 0.21515
}

Semantic roles & 50–950 ramp

primary
#5C8D2D
secondary
#8C61B5
accent
#4DDB95
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5C8D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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