#5FB428#5FB428

#5FB428 is a light, vivid yellow-green. Relative luminance 0.352; OKLCH L 69.0% C 0.188 H 136.2°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#5FB428
RGBrgb(95, 180, 40)
HSLhsl(96, 64%, 43%)
HSVhsv(96, 78%, 71%)
CMYKcmyk(47.2%, 0%, 77.8%, 29.4%)
CIE-LABlab(65.93, -48.84, 58.62)
CIE-LCHlch(65.93, 76.30, 129.80°)
OKLaboklab(69% -0.136 0.1304)
OKLCHoklch(69% 0.188 136.2)
XYZxyz(21.4230, 35.2272, 7.6778)
Luminance0.3523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB428 #7D28B4
analogous
#A5B428 #5FB428 #28B437
triadic
#5FB428 #285FB4 #B4285F
tetradic
#5FB428 #28A5B4 #7D28B4 #B43728
square
#5FB428 #28A5B4 #7D28B4 #B43728
split-complementary
#5FB428 #3728B4 #B428A5
monochromatic
#2A5012 #45821D #5FB428 #7DD544 #A0E176

Accessibility & contrast

On white

2.61
#5FB428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#5FB428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB428
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB428#FFFFFF#000000##000000
##5FB4281.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA500
Deuteranopia (green-blind)
#AF9E37
Tritanopia (blue-blind)
#5BAD9A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5fb428;
/* rgb */ color: rgb(95, 180, 40);
/* oklch */ color: oklch(69.0% 0.188 136.2);
Tailwind
colors: {
  custom: {
    50: '#94cb6d',
    500: '#5fb428',
    950: '#000000',
  },
}
SCSS
$custom: #5fb428;
$custom-light: #94cb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb428",
  "rgb": {
    "r": 95,
    "g": 180,
    "b": 40
  },
  "hsl": {
    "h": 96.429,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69,
    "c": 0.18846,
    "h": 136.2
  },
  "luminance": 0.35229
}

Semantic roles & 50–950 ramp

primary
#5FB428
secondary
#A570C8
accent
#41E7A6
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FB428

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

Preview Lab → · Contrast checker → · Palette generator →

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