#5FAF24#5FAF24

#5FAF24 is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 67.7% C 0.184 H 135.5°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#5FAF24
RGBrgb(95, 175, 36)
HSLhsl(95, 66%, 41%)
HSVhsv(95, 79%, 69%)
CMYKcmyk(45.7%, 0%, 79.4%, 31.4%)
CIE-LABlab(64.34, -47.08, 58.37)
CIE-LCHlch(64.34, 74.99, 128.89°)
OKLaboklab(67.69% -0.1316 0.1293)
OKLCHoklch(67.69% 0.184 135.5)
XYZxyz(20.3672, 33.2190, 7.0074)
Luminance0.3322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAF24 #7424AF
analogous
#A5AF24 #5FAF24 #24AF2E
triadic
#5FAF24 #245FAF #AF245F
tetradic
#5FAF24 #24A5AF #7424AF #AF2E24
square
#5FAF24 #24A5AF #7424AF #AF2E24
split-complementary
#5FAF24 #2E24AF #AF24A5
monochromatic
#28490F #437C1A #5FAF24 #7CD63A #9EE16D

Accessibility & contrast

On white

2.75
#5FAF24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#5FAF24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAF24
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAF24#FFFFFF#000000##000000
##5FAF241.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#AB9A34
Tritanopia (blue-blind)
#5CA895
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5faf24;
/* rgb */ color: rgb(95, 175, 36);
/* oklch */ color: oklch(67.7% 0.184 135.5);
Tailwind
colors: {
  custom: {
    50: '#94c76b',
    500: '#5faf24',
    950: '#000000',
  },
}
SCSS
$custom: #5faf24;
$custom-light: #94c76b;
$custom-dark: #000000;
JSON
{
  "hex": "#5faf24",
  "rgb": {
    "r": 95,
    "g": 175,
    "b": 36
  },
  "hsl": {
    "h": 94.532,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6769,
    "c": 0.18446,
    "h": 135.5
  },
  "luminance": 0.3322
}

Semantic roles & 50–950 ramp

primary
#5FAF24
secondary
#9F68C7
accent
#3FE9A1
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FAF24

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

Preview Lab → · Contrast checker → · Palette generator →

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