#5CAB1F#5CAB1F

#5CAB1F is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 66.5% C 0.183 H 135.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#5CAB1F
RGBrgb(92, 171, 31)
HSLhsl(94, 69%, 40%)
HSVhsv(94, 82%, 67%)
CMYKcmyk(46.2%, 0%, 81.9%, 32.9%)
CIE-LABlab(62.93, -46.71, 58.47)
CIE-LCHlch(62.93, 74.83, 128.62°)
OKLaboklab(66.49% -0.1307 0.1288)
OKLCHoklch(66.49% 0.183 135.4)
XYZxyz(19.2234, 31.4989, 6.3630)
Luminance0.3150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CAB1F #6E1FAB
analogous
#A2AB1F #5CAB1F #1FAB28
triadic
#5CAB1F #1F5CAB #AB1F5C
tetradic
#5CAB1F #1FA2AB #6E1FAB #AB281F
square
#5CAB1F #1FA2AB #6E1FAB #AB281F
split-complementary
#5CAB1F #281FAB #AB1FA2
monochromatic
#24430C #407716 #5CAB1F #79D92E #9AE362

Accessibility & contrast

On white

2.88
#5CAB1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#5CAB1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5CAB1F
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5CAB1F#FFFFFF#000000##000000
##5CAB1F1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#A79630
Tritanopia (blue-blind)
#59A492
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5cab1f;
/* rgb */ color: rgb(92, 171, 31);
/* oklch */ color: oklch(66.5% 0.183 135.4);
Tailwind
colors: {
  custom: {
    50: '#92c468',
    500: '#5cab1f',
    950: '#000000',
  },
}
SCSS
$custom: #5cab1f;
$custom-light: #92c468;
$custom-dark: #000000;
JSON
{
  "hex": "#5cab1f",
  "rgb": {
    "r": 92,
    "g": 171,
    "b": 31
  },
  "hsl": {
    "h": 93.857,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66487,
    "c": 0.18348,
    "h": 135.4
  },
  "luminance": 0.315
}

Semantic roles & 50–950 ramp

primary
#5CAB1F
secondary
#9A5EC7
accent
#3CEC9F
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5CAB1F

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

Preview Lab → · Contrast checker → · Palette generator →

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