#5C9825#5C9825

#5C9825 is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.6% C 0.157 H 133.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5C9825
RGBrgb(92, 152, 37)
HSLhsl(91, 61%, 37%)
HSVhsv(91, 76%, 60%)
CMYKcmyk(39.5%, 0%, 75.7%, 40.4%)
CIE-LABlab(56.94, -38.47, 50.91)
CIE-LCHlch(56.94, 63.82, 127.08°)
OKLaboklab(61.59% -0.1081 0.1139)
OKLCHoklch(61.59% 0.157 133.5)
XYZxyz(15.9755, 24.8646, 5.7075)
Luminance0.2487 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9825 #612598
analogous
#969825 #5C9825 #259827
triadic
#5C9825 #255C98 #98255C
tetradic
#5C9825 #259698 #612598 #982725
square
#5C9825 #259698 #612598 #982725
split-complementary
#5C9825 #272598 #982596
monochromatic
#20360D #3E6719 #5C9825 #7AC931 #99D85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C9825#FFFFFF#000000##000000
##5C98251.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)
#9E8C0D
Deuteranopia (green-blind)
#968731
Tritanopia (blue-blind)
#5C9282
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5c9825;
/* rgb */ color: rgb(92, 152, 37);
/* oklch */ color: oklch(61.6% 0.157 133.5);
Tailwind
colors: {
  custom: {
    50: '#8fb768',
    500: '#5c9825',
    950: '#000000',
  },
}
SCSS
$custom: #5c9825;
$custom-light: #8fb768;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9825",
  "rgb": {
    "r": 92,
    "g": 152,
    "b": 37
  },
  "hsl": {
    "h": 91.304,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61592,
    "c": 0.15703,
    "h": 133.5
  },
  "luminance": 0.24865
}

Semantic roles & 50–950 ramp

primary
#5C9825
secondary
#8F5CBD
accent
#44E497
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5C9825

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

Preview Lab → · Contrast checker → · Palette generator →

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