#5CA42F#5CA42F

#5CA42F is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 64.8% C 0.166 H 135.9°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5CA42F
RGBrgb(92, 164, 47)
HSLhsl(97, 55%, 41%)
HSVhsv(97, 71%, 64%)
CMYKcmyk(43.9%, 0%, 71.3%, 35.7%)
CIE-LABlab(60.81, -42.87, 51.06)
CIE-LCHlch(60.81, 66.67, 130.02°)
OKLaboklab(64.78% -0.1193 0.1157)
OKLCHoklch(64.78% 0.166 135.9)
XYZxyz(18.2017, 29.0304, 7.3331)
Luminance0.2903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5CA42F #772FA4
analogous
#97A42F #5CA42F #2FA43D
triadic
#5CA42F #2F5CA4 #A42F5C
tetradic
#5CA42F #2F97A4 #772FA4 #A43D2F
square
#5CA42F #2F97A4 #772FA4 #A43D2F
split-complementary
#5CA42F #3D2FA4 #A42F97
monochromatic
#274514 #417421 #5CA42F #79CA46 #9BD876

Accessibility & contrast

On white

3.09
#5CA42F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#5CA42F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5CA42F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5CA42F#FFFFFF#000000##000000
##5CA42F1.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA961C
Deuteranopia (green-blind)
#A0903A
Tritanopia (blue-blind)
#599E8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5ca42f;
/* rgb */ color: rgb(92, 164, 47);
/* oklch */ color: oklch(64.8% 0.166 135.9);
Tailwind
colors: {
  custom: {
    50: '#90bf6f',
    500: '#5ca42f',
    950: '#000000',
  },
}
SCSS
$custom: #5ca42f;
$custom-light: #90bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5ca42f",
  "rgb": {
    "r": 92,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 96.923,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64778,
    "c": 0.16615,
    "h": 135.9
  },
  "luminance": 0.29031
}

Semantic roles & 50–950 ramp

primary
#5CA42F
secondary
#A16FC0
accent
#49DFA5
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5CA42F

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

Preview Lab → · Contrast checker → · Palette generator →

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