#5CB31C#5CB31C

#5CB31C is a light, vivid yellow-green. Relative luminance 0.346; OKLCH L 68.5% C 0.194 H 136.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#5CB31C
RGBrgb(92, 179, 28)
HSLhsl(95, 73%, 41%)
HSVhsv(95, 84%, 70%)
CMYKcmyk(48.6%, 0%, 84.4%, 29.8%)
CIE-LABlab(65.43, -49.98, 61.51)
CIE-LCHlch(65.43, 79.25, 129.09°)
OKLaboklab(68.55% -0.1396 0.1348)
OKLCHoklch(68.55% 0.194 136)
XYZxyz(20.7428, 34.5979, 6.6834)
Luminance0.3460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CB31C #731CB3
analogous
#A7B31C #5CB31C #1CB328
triadic
#5CB31C #1C5CB3 #B31C5C
tetradic
#5CB31C #1CA7B3 #731CB3 #B3281C
square
#5CB31C #1CA7B3 #731CB3 #B3281C
split-complementary
#5CB31C #281CB3 #B31CA7
monochromatic
#26490B #417E14 #5CB31C #79DE2E #9BE763

Accessibility & contrast

On white

2.65
#5CB31C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#5CB31C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5CB31C
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5CB31C#FFFFFF#000000##000000
##5CB31C1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA300
Deuteranopia (green-blind)
#AE9C30
Tritanopia (blue-blind)
#58AC98
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5cb31c;
/* rgb */ color: rgb(92, 179, 28);
/* oklch */ color: oklch(68.5% 0.194 136.0);
Tailwind
colors: {
  custom: {
    50: '#93ca68',
    500: '#5cb31c',
    950: '#000000',
  },
}
SCSS
$custom: #5cb31c;
$custom-light: #93ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#5cb31c",
  "rgb": {
    "r": 92,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 94.57,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68546,
    "c": 0.19405,
    "h": 136
  },
  "luminance": 0.34599
}

Semantic roles & 50–950 ramp

primary
#5CB31C
secondary
#9E5FCB
accent
#38F0A2
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5CB31C

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

Preview Lab → · Contrast checker → · Palette generator →

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