#5CA81F#5CA81F

#5CA81F is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 65.7% C 0.180 H 135.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5CA81F
RGBrgb(92, 168, 31)
HSLhsl(93, 69%, 39%)
HSVhsv(93, 82%, 66%)
CMYKcmyk(45.2%, 0%, 81.5%, 34.1%)
CIE-LABlab(61.98, -45.50, 57.60)
CIE-LCHlch(61.98, 73.41, 128.31°)
OKLaboklab(65.71% -0.1274 0.127)
OKLCHoklch(65.71% 0.18 135.1)
XYZxyz(18.6632, 30.3784, 6.1763)
Luminance0.3038 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CA81F #6B1FA8
analogous
#A1A81F #5CA81F #1FA827
triadic
#5CA81F #1F5CA8 #A81F5C
tetradic
#5CA81F #1FA1A8 #6B1FA8 #A8271F
square
#5CA81F #1FA1A8 #6B1FA8 #A8271F
split-complementary
#5CA81F #271FA8 #A81FA1
monochromatic
#23410C #407415 #5CA81F #79D82C #9AE260

Accessibility & contrast

On white

2.97
#5CA81F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#5CA81F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5CA81F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5CA81F#FFFFFF#000000##000000
##5CA81F1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#A4942F
Tritanopia (blue-blind)
#5AA18F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5ca81f;
/* rgb */ color: rgb(92, 168, 31);
/* oklch */ color: oklch(65.7% 0.180 135.1);
Tailwind
colors: {
  custom: {
    50: '#91c268',
    500: '#5ca81f',
    950: '#000000',
  },
}
SCSS
$custom: #5ca81f;
$custom-light: #91c268;
$custom-dark: #000000;
JSON
{
  "hex": "#5ca81f",
  "rgb": {
    "r": 92,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 93.285,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6571,
    "c": 0.1799,
    "h": 135.1
  },
  "luminance": 0.3038
}

Semantic roles & 50–950 ramp

primary
#5CA81F
secondary
#975DC6
accent
#3CEC9E
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5CA81F

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

Preview Lab → · Contrast checker → · Palette generator →

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