#5CB221#5CB221

#5CB221 is a light, vivid yellow-green. Relative luminance 0.342; OKLCH L 68.3% C 0.191 H 136.2°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#5CB221
RGBrgb(92, 178, 33)
HSLhsl(96, 69%, 41%)
HSVhsv(96, 81%, 70%)
CMYKcmyk(48.3%, 0%, 81.5%, 30.2%)
CIE-LABlab(65.14, -49.36, 59.94)
CIE-LCHlch(65.14, 77.65, 129.48°)
OKLaboklab(68.31% -0.1377 0.1322)
OKLCHoklch(68.31% 0.191 136.2)
XYZxyz(20.6080, 34.2245, 6.9586)
Luminance0.3423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CB221 #7721B2
analogous
#A5B221 #5CB221 #21B22F
triadic
#5CB221 #215CB2 #B2215C
tetradic
#5CB221 #21A5B2 #7721B2 #B22F21
square
#5CB221 #21A5B2 #7721B2 #B22F21
split-complementary
#5CB221 #2F21B2 #B221A5
monochromatic
#274B0E #417E17 #5CB221 #79DA36 #9BE36A

Accessibility & contrast

On white

2.68
#5CB221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#5CB221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5CB221
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5CB221#FFFFFF#000000##000000
##5CB2211.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A300
Deuteranopia (green-blind)
#AD9B33
Tritanopia (blue-blind)
#58AB98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5cb221;
/* rgb */ color: rgb(92, 178, 33);
/* oklch */ color: oklch(68.3% 0.191 136.2);
Tailwind
colors: {
  custom: {
    50: '#92ca6a',
    500: '#5cb221',
    950: '#000000',
  },
}
SCSS
$custom: #5cb221;
$custom-light: #92ca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5cb221",
  "rgb": {
    "r": 92,
    "g": 178,
    "b": 33
  },
  "hsl": {
    "h": 95.586,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6831,
    "c": 0.19087,
    "h": 136.2
  },
  "luminance": 0.34226
}

Semantic roles & 50–950 ramp

primary
#5CB221
secondary
#A166C9
accent
#3CECA4
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5CB221

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

Preview Lab → · Contrast checker → · Palette generator →

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