#5C9721#5C9721

#5C9721 is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.3% C 0.158 H 133.1°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5C9721
RGBrgb(92, 151, 33)
HSLhsl(90, 64%, 36%)
HSVhsv(90, 78%, 59%)
CMYKcmyk(39.1%, 0%, 78.1%, 40.8%)
CIE-LABlab(56.60, -38.28, 51.97)
CIE-LCHlch(56.60, 64.54, 126.38°)
OKLaboklab(61.31% -0.1079 0.1155)
OKLCHoklch(61.31% 0.158 133.1)
XYZxyz(15.7545, 24.5176, 5.3408)
Luminance0.2452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C9721 #5C2197
analogous
#979721 #5C9721 #219721
triadic
#5C9721 #215C97 #97215C
tetradic
#5C9721 #219797 #5C2197 #972121
square
#5C9721 #219797 #5C2197 #972121
split-complementary
#5C9721 #212197 #972197
monochromatic
#1F330B #3D6516 #5C9721 #7BC92C #99DA58

Accessibility & contrast

On white

3.56
#5C9721 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#5C9721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C9721
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C9721#FFFFFF#000000##000000
##5C97211.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B02
Deuteranopia (green-blind)
#95862D
Tritanopia (blue-blind)
#5C9181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5c9721;
/* rgb */ color: rgb(92, 151, 33);
/* oklch */ color: oklch(61.3% 0.158 133.1);
Tailwind
colors: {
  custom: {
    50: '#8fb666',
    500: '#5c9721',
    950: '#000000',
  },
}
SCSS
$custom: #5c9721;
$custom-light: #8fb666;
$custom-dark: #000000;
JSON
{
  "hex": "#5c9721",
  "rgb": {
    "r": 92,
    "g": 151,
    "b": 33
  },
  "hsl": {
    "h": 90,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61306,
    "c": 0.15802,
    "h": 133.1
  },
  "luminance": 0.24518
}

Semantic roles & 50–950 ramp

primary
#5C9721
secondary
#8A55BE
accent
#41E794
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5C9721

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

Preview Lab → · Contrast checker → · Palette generator →

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