#5FAF25#5FAF25

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

Color values

HEX#5FAF25
RGBrgb(95, 175, 37)
HSLhsl(95, 65%, 42%)
HSVhsv(95, 79%, 69%)
CMYKcmyk(45.7%, 0%, 78.9%, 31.4%)
CIE-LABlab(64.34, -47.03, 58.06)
CIE-LCHlch(64.34, 74.72, 129.00°)
OKLaboklab(67.7% -0.1314 0.1288)
OKLCHoklch(67.7% 0.184 135.6)
XYZxyz(20.3827, 33.2252, 7.0890)
Luminance0.3323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAF25 #7525AF
analogous
#A4AF25 #5FAF25 #25AF30
triadic
#5FAF25 #255FAF #AF255F
tetradic
#5FAF25 #25A4AF #7525AF #AF3025
square
#5FAF25 #25A4AF #7525AF #AF3025
split-complementary
#5FAF25 #3025AF #AF25A4
monochromatic
#284A10 #447C1A #5FAF25 #7CD63C #9EE06E

Accessibility & contrast

On white

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

On black

7.65
#5FAF25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAF25
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAF25#FFFFFF#000000##000000
##5FAF251.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5faf25;
/* rgb */ color: rgb(95, 175, 37);
/* oklch */ color: oklch(67.7% 0.184 135.6);
Tailwind
colors: {
  custom: {
    50: '#94c76b',
    500: '#5faf25',
    950: '#000000',
  },
}
SCSS
$custom: #5faf25;
$custom-light: #94c76b;
$custom-dark: #000000;
JSON
{
  "hex": "#5faf25",
  "rgb": {
    "r": 95,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 94.783,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67695,
    "c": 0.18397,
    "h": 135.6
  },
  "luminance": 0.33226
}

Semantic roles & 50–950 ramp

primary
#5FAF25
secondary
#9F69C7
accent
#40E8A1
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FAF25

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

Preview Lab → · Contrast checker → · Palette generator →

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