#5CA01F#5CA01F

#5CA01F is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 63.6% C 0.170 H 134.2°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5CA01F
RGBrgb(92, 160, 31)
HSLhsl(92, 68%, 37%)
HSVhsv(92, 81%, 63%)
CMYKcmyk(42.5%, 0%, 80.6%, 37.3%)
CIE-LABlab(59.45, -42.22, 55.27)
CIE-LCHlch(59.45, 69.55, 127.38°)
OKLaboklab(63.63% -0.1186 0.1221)
OKLCHoklch(63.63% 0.17 134.2)
XYZxyz(17.2314, 27.5149, 5.6990)
Luminance0.2752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CA01F #631FA0
analogous
#9CA01F #5CA01F #1FA023
triadic
#5CA01F #1F5CA0 #A01F5C
tetradic
#5CA01F #1F9CA0 #631FA0 #A0231F
square
#5CA01F #1F9CA0 #631FA0 #A0231F
split-complementary
#5CA01F #231FA0 #A01F9C
monochromatic
#21390B #3F6D15 #5CA01F #79D329 #99DF5A

Accessibility & contrast

On white

3.23
#5CA01F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#5CA01F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5CA01F
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5CA01F#FFFFFF#000000##000000
##5CA01F1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69300
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#5B9A88
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5ca01f;
/* rgb */ color: rgb(92, 160, 31);
/* oklch */ color: oklch(63.6% 0.170 134.2);
Tailwind
colors: {
  custom: {
    50: '#90bc66',
    500: '#5ca01f',
    950: '#000000',
  },
}
SCSS
$custom: #5ca01f;
$custom-light: #90bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#5ca01f",
  "rgb": {
    "r": 92,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 91.628,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63633,
    "c": 0.17023,
    "h": 134.2
  },
  "luminance": 0.27516
}

Semantic roles & 50–950 ramp

primary
#5CA01F
secondary
#9058C3
accent
#3DEA99
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5CA01F

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

Preview Lab → · Contrast checker → · Palette generator →

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