#5FA728#5FA728

#5FA728 is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 65.7% C 0.173 H 134.9°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5FA728
RGBrgb(95, 167, 40)
HSLhsl(94, 61%, 41%)
HSVhsv(94, 76%, 65%)
CMYKcmyk(43.1%, 0%, 76%, 34.5%)
CIE-LABlab(61.85, -43.60, 54.70)
CIE-LCHlch(61.85, 69.95, 128.56°)
OKLaboklab(65.65% -0.1219 0.1222)
OKLCHoklch(65.65% 0.173 134.9)
XYZxyz(18.9206, 30.2225, 6.8436)
Luminance0.3022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA728 #7028A7
analogous
#9EA728 #5FA728 #28A730
triadic
#5FA728 #285FA7 #A7285F
tetradic
#5FA728 #289EA7 #7028A7 #A73028
square
#5FA728 #289EA7 #7028A7 #A73028
split-complementary
#5FA728 #3028A7 #A7289E
monochromatic
#274410 #43761C #5FA728 #7CD03C #9DDC6D

Accessibility & contrast

On white

2.98
#5FA728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#5FA728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA728
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA728#FFFFFF#000000##000000
##5FA7281.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990B
Deuteranopia (green-blind)
#A49335
Tritanopia (blue-blind)
#5DA08F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5fa728;
/* rgb */ color: rgb(95, 167, 40);
/* oklch */ color: oklch(65.7% 0.173 134.9);
Tailwind
colors: {
  custom: {
    50: '#93c26b',
    500: '#5fa728',
    950: '#000000',
  },
}
SCSS
$custom: #5fa728;
$custom-light: #93c26b;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa728",
  "rgb": {
    "r": 95,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 94.016,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65652,
    "c": 0.17263,
    "h": 134.9
  },
  "luminance": 0.30224
}

Semantic roles & 50–950 ramp

primary
#5FA728
secondary
#9B68C3
accent
#43E49F
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA728

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

Preview Lab → · Contrast checker → · Palette generator →

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