#5FA822#5FA822

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

Color values

HEX#5FA822
RGBrgb(95, 168, 34)
HSLhsl(93, 66%, 40%)
HSVhsv(93, 80%, 66%)
CMYKcmyk(43.5%, 0%, 79.8%, 34.1%)
CIE-LABlab(62.13, -44.35, 56.91)
CIE-LCHlch(62.13, 72.15, 127.93°)
OKLaboklab(65.87% -0.1244 0.1259)
OKLCHoklch(65.87% 0.177 134.6)
XYZxyz(19.0103, 30.5526, 6.4086)
Luminance0.3055 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA822 #6B22A8
analogous
#A2A822 #5FA822 #22A828
triadic
#5FA822 #225FA8 #A8225F
tetradic
#5FA822 #22A2A8 #6B22A8 #A82822
square
#5FA822 #22A2A8 #6B22A8 #A82822
split-complementary
#5FA822 #2822A8 #A822A2
monochromatic
#25420D #427518 #5FA822 #7CD532 #9DE065

Accessibility & contrast

On white

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

On black

7.11
#5FA822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA822
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA822#FFFFFF#000000##000000
##5FA8221.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#A59431
Tritanopia (blue-blind)
#5EA18F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5fa822;
/* rgb */ color: rgb(95, 168, 34);
/* oklch */ color: oklch(65.9% 0.177 134.6);
Tailwind
colors: {
  custom: {
    50: '#93c269',
    500: '#5fa822',
    950: '#000000',
  },
}
SCSS
$custom: #5fa822;
$custom-light: #93c269;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa822",
  "rgb": {
    "r": 95,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 92.687,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65873,
    "c": 0.17699,
    "h": 134.6
  },
  "luminance": 0.30554
}

Semantic roles & 50–950 ramp

primary
#5FA822
secondary
#9761C5
accent
#3FE99C
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA822

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

Preview Lab → · Contrast checker → · Palette generator →

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