#5FA828#5FA828

#5FA828 is a light, vivid yellow-green. Relative luminance 0.306; OKLCH L 65.9% C 0.174 H 135.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#5FA828
RGBrgb(95, 168, 40)
HSLhsl(94, 62%, 41%)
HSVhsv(94, 76%, 66%)
CMYKcmyk(43.5%, 0%, 76.2%, 34.1%)
CIE-LABlab(62.16, -44.01, 55.00)
CIE-LCHlch(62.16, 70.44, 128.66°)
OKLaboklab(65.91% -0.123 0.1229)
OKLCHoklch(65.91% 0.174 135)
XYZxyz(19.1045, 30.5903, 6.9049)
Luminance0.3059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA828 #7128A8
analogous
#9FA828 #5FA828 #28A831
triadic
#5FA828 #285FA8 #A8285F
tetradic
#5FA828 #289FA8 #7128A8 #A83128
square
#5FA828 #289FA8 #7128A8 #A83128
split-complementary
#5FA828 #3128A8 #A8289F
monochromatic
#274510 #43771C #5FA828 #7CD13D #9DDC6E

Accessibility & contrast

On white

2.95
#5FA828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#5FA828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA828
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA828#FFFFFF#000000##000000
##5FA8281.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A0A
Deuteranopia (green-blind)
#A59435
Tritanopia (blue-blind)
#5DA190
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5fa828;
/* rgb */ color: rgb(95, 168, 40);
/* oklch */ color: oklch(65.9% 0.174 135.0);
Tailwind
colors: {
  custom: {
    50: '#93c26c',
    500: '#5fa828',
    950: '#000000',
  },
}
SCSS
$custom: #5fa828;
$custom-light: #93c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa828",
  "rgb": {
    "r": 95,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 94.219,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65909,
    "c": 0.17388,
    "h": 135
  },
  "luminance": 0.30591
}

Semantic roles & 50–950 ramp

primary
#5FA828
secondary
#9C69C3
accent
#43E59F
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA828

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

Preview Lab → · Contrast checker → · Palette generator →

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