#5FAF35#5FAF35

#5FAF35 is a light, vivid yellow-green. Relative luminance 0.334; OKLCH L 67.8% C 0.175 H 136.8°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#5FAF35
RGBrgb(95, 175, 53)
HSLhsl(99, 54%, 45%)
HSVhsv(99, 70%, 69%)
CMYKcmyk(45.7%, 0%, 69.7%, 31.4%)
CIE-LABlab(64.44, -45.95, 52.50)
CIE-LCHlch(64.44, 69.77, 131.19°)
OKLaboklab(67.81% -0.1274 0.1195)
OKLCHoklch(67.81% 0.175 136.8)
XYZxyz(20.6913, 33.3486, 8.7141)
Luminance0.3335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAF35 #8535AF
analogous
#9CAF35 #5FAF35 #35AF48
triadic
#5FAF35 #355FAF #AF355F
tetradic
#5FAF35 #359CAF #8535AF #AF4835
square
#5FAF35 #359CAF #8535AF #AF4835
split-complementary
#5FAF35 #4835AF #AF359C
monochromatic
#2C5119 #468027 #5FAF35 #7ECC56 #A2DA85

Accessibility & contrast

On white

2.74
#5FAF35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#5FAF35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAF35
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAF35#FFFFFF#000000##000000
##5FAF351.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A022
Deuteranopia (green-blind)
#AA9A40
Tritanopia (blue-blind)
#5BA997
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5faf35;
/* rgb */ color: rgb(95, 175, 53);
/* oklch */ color: oklch(67.8% 0.175 136.8);
Tailwind
colors: {
  custom: {
    50: '#93c773',
    500: '#5faf35',
    950: '#000000',
  },
}
SCSS
$custom: #5faf35;
$custom-light: #93c773;
$custom-dark: #000000;
JSON
{
  "hex": "#5faf35",
  "rgb": {
    "r": 95,
    "g": 175,
    "b": 53
  },
  "hsl": {
    "h": 99.344,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67809,
    "c": 0.17465,
    "h": 136.8
  },
  "luminance": 0.3335
}

Semantic roles & 50–950 ramp

primary
#5FAF35
secondary
#AB7CC4
accent
#4BDDAB
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAF35

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

Preview Lab → · Contrast checker → · Palette generator →

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