#5C981E#5C981E

#5C981E is a mid, vivid yellow-green. Relative luminance 0.248; OKLCH L 61.5% C 0.161 H 133.0°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5C981E
RGBrgb(92, 152, 30)
HSLhsl(90, 67%, 36%)
HSVhsv(90, 80%, 60%)
CMYKcmyk(39.5%, 0%, 80.3%, 40.4%)
CIE-LABlab(56.90, -38.88, 53.21)
CIE-LCHlch(56.90, 65.90, 126.15°)
OKLaboklab(61.55% -0.1097 0.1176)
OKLCHoklch(61.55% 0.161 133)
XYZxyz(15.8760, 24.8248, 5.1832)
Luminance0.2483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C981E #5A1E98
analogous
#98971E #5C981E #1F981E
triadic
#5C981E #1E5C98 #981E5C
tetradic
#5C981E #1E9897 #5A1E98 #981E1F
square
#5C981E #1E9897 #5A1E98 #981E1F
split-complementary
#5C981E #1E1F98 #971E98
monochromatic
#1E320A #3D6514 #5C981E #7BCB28 #99DD53

Accessibility & contrast

On white

3.52
#5C981E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#5C981E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C981E
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C981E#FFFFFF#000000##000000
##5C981E1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C00
Deuteranopia (green-blind)
#96872C
Tritanopia (blue-blind)
#5C9282
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5c981e;
/* rgb */ color: rgb(92, 152, 30);
/* oklch */ color: oklch(61.5% 0.161 133.0);
Tailwind
colors: {
  custom: {
    50: '#90b765',
    500: '#5c981e',
    950: '#000000',
  },
}
SCSS
$custom: #5c981e;
$custom-light: #90b765;
$custom-dark: #000000;
JSON
{
  "hex": "#5c981e",
  "rgb": {
    "r": 92,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 89.508,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61548,
    "c": 0.16083,
    "h": 133
  },
  "luminance": 0.24826
}

Semantic roles & 50–950 ramp

primary
#5C981E
secondary
#8851C0
accent
#3EEA92
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5C981E

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

Preview Lab → · Contrast checker → · Palette generator →

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