#5CB31F#5CB31F

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

Color values

HEX#5CB31F
RGBrgb(92, 179, 31)
HSLhsl(95, 70%, 41%)
HSVhsv(95, 83%, 70%)
CMYKcmyk(48.6%, 0%, 82.7%, 29.8%)
CIE-LABlab(65.45, -49.85, 60.76)
CIE-LCHlch(65.45, 78.59, 129.37°)
OKLaboklab(68.56% -0.1391 0.1336)
OKLCHoklch(68.56% 0.193 136.1)
XYZxyz(20.7805, 34.6130, 6.8820)
Luminance0.3461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CB31F #761FB3
analogous
#A6B31F #5CB31F #1FB32C
triadic
#5CB31F #1F5CB3 #B31F5C
tetradic
#5CB31F #1FA6B3 #761FB3 #B32C1F
square
#5CB31F #1FA6B3 #761FB3 #B32C1F
split-complementary
#5CB31F #2C1FB3 #B31FA6
monochromatic
#264B0D #417F16 #5CB31F #79DC33 #9BE568

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5CB31F#FFFFFF#000000##000000
##5CB31F1.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)
#B9A300
Deuteranopia (green-blind)
#AE9C32
Tritanopia (blue-blind)
#58AC99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5cb31f;
/* rgb */ color: rgb(92, 179, 31);
/* oklch */ color: oklch(68.6% 0.193 136.1);
Tailwind
colors: {
  custom: {
    50: '#93ca69',
    500: '#5cb31f',
    950: '#000000',
  },
}
SCSS
$custom: #5cb31f;
$custom-light: #93ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#5cb31f",
  "rgb": {
    "r": 92,
    "g": 179,
    "b": 31
  },
  "hsl": {
    "h": 95.27,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68559,
    "c": 0.19287,
    "h": 136.1
  },
  "luminance": 0.34614
}

Semantic roles & 50–950 ramp

primary
#5CB31F
secondary
#A064CA
accent
#3BEDA4
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5CB31F

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

Preview Lab → · Contrast checker → · Palette generator →

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