#5FA82A#5FA82A

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

Color values

HEX#5FA82A
RGBrgb(95, 168, 42)
HSLhsl(95, 60%, 41%)
HSVhsv(95, 75%, 66%)
CMYKcmyk(43.5%, 0%, 75%, 34.1%)
CIE-LABlab(62.17, -43.88, 54.32)
CIE-LCHlch(62.17, 69.83, 128.93°)
OKLaboklab(65.92% -0.1226 0.1217)
OKLCHoklch(65.92% 0.173 135.2)
XYZxyz(19.1394, 30.6042, 7.0888)
Luminance0.3060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA82A #732AA8
analogous
#9EA82A #5FA82A #2AA834
triadic
#5FA82A #2A5FA8 #A82A5F
tetradic
#5FA82A #2A9EA8 #732AA8 #A8342A
square
#5FA82A #2A9EA8 #732AA8 #A8342A
split-complementary
#5FA82A #342AA8 #A82A9E
monochromatic
#284612 #43771E #5FA82A #7CCF40 #9EDB71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA82A#FFFFFF#000000##000000
##5FA82A1.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)
#AE9A10
Deuteranopia (green-blind)
#A59437
Tritanopia (blue-blind)
#5DA290
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5fa82a;
/* rgb */ color: rgb(95, 168, 42);
/* oklch */ color: oklch(65.9% 0.173 135.2);
Tailwind
colors: {
  custom: {
    50: '#93c26d',
    500: '#5fa82a',
    950: '#000000',
  },
}
SCSS
$custom: #5fa82a;
$custom-light: #93c26d;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa82a",
  "rgb": {
    "r": 95,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 94.762,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65923,
    "c": 0.17274,
    "h": 135.2
  },
  "luminance": 0.30605
}

Semantic roles & 50–950 ramp

primary
#5FA82A
secondary
#9E6BC3
accent
#45E3A0
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA82A

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

Preview Lab → · Contrast checker → · Palette generator →

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