#5FA423#5FA423

#5FA423 is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 64.8% C 0.172 H 134.2°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5FA423
RGBrgb(95, 164, 35)
HSLhsl(92, 65%, 39%)
HSVhsv(92, 79%, 64%)
CMYKcmyk(42.1%, 0%, 78.7%, 35.7%)
CIE-LABlab(60.87, -42.64, 55.42)
CIE-LCHlch(60.87, 69.93, 127.58°)
OKLaboklab(64.85% -0.1197 0.123)
OKLCHoklch(64.85% 0.172 134.2)
XYZxyz(18.2978, 29.1042, 6.2433)
Luminance0.2910 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA423 #6823A4
analogous
#A0A423 #5FA423 #23A428
triadic
#5FA423 #235FA4 #A4235F
tetradic
#5FA423 #23A0A4 #6823A4 #A42823
square
#5FA423 #23A0A4 #6823A4 #A42823
split-complementary
#5FA423 #2823A4 #A423A0
monochromatic
#253F0D #427218 #5FA423 #7CD331 #9CDE64

Accessibility & contrast

On white

3.08
#5FA423 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#5FA423 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA423
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA423#FFFFFF#000000##000000
##5FA4231.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#A19131
Tritanopia (blue-blind)
#5E9D8C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5fa423;
/* rgb */ color: rgb(95, 164, 35);
/* oklch */ color: oklch(64.8% 0.172 134.2);
Tailwind
colors: {
  custom: {
    50: '#93bf69',
    500: '#5fa423',
    950: '#000000',
  },
}
SCSS
$custom: #5fa423;
$custom-light: #93bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa423",
  "rgb": {
    "r": 95,
    "g": 164,
    "b": 35
  },
  "hsl": {
    "h": 92.093,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64846,
    "c": 0.1716,
    "h": 134.2
  },
  "luminance": 0.29105
}

Semantic roles & 50–950 ramp

primary
#5FA423
secondary
#9560C3
accent
#40E89A
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA423

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

Preview Lab → · Contrast checker → · Palette generator →

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