#5CB31B#5CB31B

#5CB31B 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#5CB31B
RGBrgb(92, 179, 27)
HSLhsl(94, 74%, 40%)
HSVhsv(94, 85%, 70%)
CMYKcmyk(48.6%, 0%, 84.9%, 29.8%)
CIE-LABlab(65.43, -50.02, 61.75)
CIE-LCHlch(65.43, 79.47, 129.01°)
OKLaboklab(68.54% -0.1397 0.1352)
OKLCHoklch(68.54% 0.194 136)
XYZxyz(20.7310, 34.5932, 6.6215)
Luminance0.3459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CB31B #721BB3
analogous
#A8B31B #5CB31B #1BB326
triadic
#5CB31B #1B5CB3 #B31B5C
tetradic
#5CB31B #1BA8B3 #721BB3 #B3261B
square
#5CB31B #1BA8B3 #721BB3 #B3261B
split-complementary
#5CB31B #261BB3 #B31BA8
monochromatic
#25490B #417E13 #5CB31B #79DF2C #9BE761

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5CB31B#FFFFFF#000000##000000
##5CB31B1.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)
#AE9C2F
Tritanopia (blue-blind)
#58AC98
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5cb31b;
/* rgb */ color: rgb(92, 179, 27);
/* oklch */ color: oklch(68.5% 0.194 136.0);
Tailwind
colors: {
  custom: {
    50: '#93ca68',
    500: '#5cb31b',
    950: '#000000',
  },
}
SCSS
$custom: #5cb31b;
$custom-light: #93ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#5cb31b",
  "rgb": {
    "r": 92,
    "g": 179,
    "b": 27
  },
  "hsl": {
    "h": 94.342,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68541,
    "c": 0.19441,
    "h": 136
  },
  "luminance": 0.34595
}

Semantic roles & 50–950 ramp

primary
#5CB31B
secondary
#9D5ECC
accent
#37F0A1
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5CB31B

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

Preview Lab → · Contrast checker → · Palette generator →

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