#5FA82C#5FA82C

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

Color values

HEX#5FA82C
RGBrgb(95, 168, 44)
HSLhsl(95, 58%, 42%)
HSVhsv(95, 74%, 66%)
CMYKcmyk(43.5%, 0%, 73.8%, 34.1%)
CIE-LABlab(62.18, -43.75, 53.62)
CIE-LCHlch(62.18, 69.20, 129.21°)
OKLaboklab(65.94% -0.1221 0.1205)
OKLCHoklch(65.94% 0.172 135.4)
XYZxyz(19.1761, 30.6189, 7.2820)
Luminance0.3062 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA82C #752CA8
analogous
#9DA82C #5FA82C #2CA837
triadic
#5FA82C #2C5FA8 #A82C5F
tetradic
#5FA82C #2C9DA8 #752CA8 #A8372C
square
#5FA82C #2C9DA8 #752CA8 #A8372C
split-complementary
#5FA82C #372CA8 #A82C9D
monochromatic
#284713 #44781F #5FA82C #7CCE43 #9EDB74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA82C#FFFFFF#000000##000000
##5FA82C1.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)
#AE9A14
Deuteranopia (green-blind)
#A49438
Tritanopia (blue-blind)
#5DA290
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5fa82c;
/* rgb */ color: rgb(95, 168, 44);
/* oklch */ color: oklch(65.9% 0.172 135.4);
Tailwind
colors: {
  custom: {
    50: '#93c26e',
    500: '#5fa82c',
    950: '#000000',
  },
}
SCSS
$custom: #5fa82c;
$custom-light: #93c26e;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa82c",
  "rgb": {
    "r": 95,
    "g": 168,
    "b": 44
  },
  "hsl": {
    "h": 95.323,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65937,
    "c": 0.17155,
    "h": 135.4
  },
  "luminance": 0.3062
}

Semantic roles & 50–950 ramp

primary
#5FA82C
secondary
#9F6EC2
accent
#46E2A2
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1208
muted
#7E817B

Preview Lab

Preview with #5FA82C

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

Preview Lab → · Contrast checker → · Palette generator →

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