#5FA82F#5FA82F

#5FA82F is a light, vivid yellow-green. Relative luminance 0.306; OKLCH L 66.0% C 0.170 H 135.6°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#5FA82F
RGBrgb(95, 168, 47)
HSLhsl(96, 56%, 42%)
HSVhsv(96, 72%, 66%)
CMYKcmyk(43.5%, 0%, 72%, 34.1%)
CIE-LABlab(62.20, -43.54, 52.53)
CIE-LCHlch(62.20, 68.22, 129.65°)
OKLaboklab(65.96% -0.1213 0.1187)
OKLCHoklch(65.96% 0.17 135.6)
XYZxyz(19.2346, 30.6423, 7.5898)
Luminance0.3064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA82F #782FA8
analogous
#9CA82F #5FA82F #2FA83B
triadic
#5FA82F #2F5FA8 #A82F5F
tetradic
#5FA82F #2F9CA8 #782FA8 #A83B2F
square
#5FA82F #2F9CA8 #782FA8 #A83B2F
split-complementary
#5FA82F #3B2FA8 #A82F9C
monochromatic
#294814 #447822 #5FA82F #7DCC48 #9FD978

Accessibility & contrast

On white

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

On black

7.13
#5FA82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA82F
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA82F#FFFFFF#000000##000000
##5FA82F1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1A
Deuteranopia (green-blind)
#A4943A
Tritanopia (blue-blind)
#5DA290
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5fa82f;
/* rgb */ color: rgb(95, 168, 47);
/* oklch */ color: oklch(66.0% 0.170 135.6);
Tailwind
colors: {
  custom: {
    50: '#92c26f',
    500: '#5fa82f',
    950: '#000000',
  },
}
SCSS
$custom: #5fa82f;
$custom-light: #92c26f;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa82f",
  "rgb": {
    "r": 95,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 96.198,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6596,
    "c": 0.16969,
    "h": 135.6
  },
  "luminance": 0.30643
}

Semantic roles & 50–950 ramp

primary
#5FA82F
secondary
#A271C1
accent
#48E0A4
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1208
muted
#7E817B

Preview Lab

Preview with #5FA82F

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

Preview Lab → · Contrast checker → · Palette generator →

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