#5C9728#5C9728

#5C9728 is a mid, vivid yellow-green. Relative luminance 0.246; OKLCH L 61.4% C 0.154 H 133.6°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5C9728
RGBrgb(92, 151, 40)
HSLhsl(92, 58%, 37%)
HSVhsv(92, 74%, 59%)
CMYKcmyk(39.1%, 0%, 73.5%, 40.8%)
CIE-LABlab(56.65, -37.84, 49.52)
CIE-LCHlch(56.65, 62.32, 127.39°)
OKLaboklab(61.35% -0.1062 0.1114)
OKLCHoklch(61.35% 0.154 133.6)
XYZxyz(15.8630, 24.5610, 5.9120)
Luminance0.2456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9728 #632897
analogous
#939728 #5C9728 #28972C
triadic
#5C9728 #285C97 #97285C
tetradic
#5C9728 #289397 #632897 #972C28
square
#5C9728 #289397 #632897 #972C28
split-complementary
#5C9728 #2C2897 #972893
monochromatic
#21360E #3F671B #5C9728 #79C735 #99D664

Accessibility & contrast

On white

3.55
#5C9728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#5C9728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9728
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9728#FFFFFF#000000##000000
##5C97281.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B14
Deuteranopia (green-blind)
#958633
Tritanopia (blue-blind)
#5C9181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5c9728;
/* rgb */ color: rgb(92, 151, 40);
/* oklch */ color: oklch(61.4% 0.154 133.6);
Tailwind
colors: {
  custom: {
    50: '#8fb669',
    500: '#5c9728',
    950: '#000000',
  },
}
SCSS
$custom: #5c9728;
$custom-light: #8fb669;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9728",
  "rgb": {
    "r": 92,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 91.892,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61354,
    "c": 0.1539,
    "h": 133.6
  },
  "luminance": 0.24562
}

Semantic roles & 50–950 ramp

primary
#5C9728
secondary
#905FBC
accent
#46E199
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5C9728

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

Preview Lab → · Contrast checker → · Palette generator →

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