#5C8D2E#5C8D2E

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

Color values

HEX#5C8D2E
RGBrgb(92, 141, 46)
HSLhsl(91, 51%, 37%)
HSVhsv(91, 67%, 55%)
CMYKcmyk(34.8%, 0%, 67.4%, 44.7%)
CIE-LABlab(53.52, -32.89, 43.84)
CIE-LCHlch(53.52, 54.81, 126.88°)
OKLaboklab(58.82% -0.0922 0.1004)
OKLCHoklch(58.82% 0.136 132.6)
XYZxyz(14.4314, 21.5218, 5.9780)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8D2E #5F2E8D
analogous
#8C8D2E #5C8D2E #2E8D2F
triadic
#5C8D2E #2E5C8D #8D2E5C
tetradic
#5C8D2E #2E8C8D #5F2E8D #8D2F2E
square
#5C8D2E #2E8C8D #5F2E8D #8D2F2E
split-complementary
#5C8D2E #2F2E8D #8D2E8C
monochromatic
#203110 #3E5F1F #5C8D2E #7ABB3D #99CE68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C8D2E#FFFFFF#000000##000000
##5C8D2E1.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)
#938221
Deuteranopia (green-blind)
#8C7E36
Tritanopia (blue-blind)
#5D877A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5c8d2e;
/* rgb */ color: rgb(92, 141, 46);
/* oklch */ color: oklch(58.8% 0.136 132.6);
Tailwind
colors: {
  custom: {
    50: '#8eae6c',
    500: '#5c8d2e',
    950: '#000000',
  },
}
SCSS
$custom: #5c8d2e;
$custom-light: #8eae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8d2e",
  "rgb": {
    "r": 92,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 90.947,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58815,
    "c": 0.13632,
    "h": 132.6
  },
  "luminance": 0.21522
}

Semantic roles & 50–950 ramp

primary
#5C8D2E
secondary
#8D62B5
accent
#4EDA96
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5C8D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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