#5FAF2F#5FAF2F

#5FAF2F is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 67.8% C 0.178 H 136.3°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5FAF2F
RGBrgb(95, 175, 47)
HSLhsl(98, 58%, 44%)
HSVhsv(98, 73%, 69%)
CMYKcmyk(45.7%, 0%, 73.1%, 31.4%)
CIE-LABlab(64.40, -46.40, 54.74)
CIE-LCHlch(64.40, 71.76, 130.28°)
OKLaboklab(67.76% -0.129 0.1233)
OKLCHoklch(67.76% 0.178 136.3)
XYZxyz(20.5618, 33.2968, 8.0322)
Luminance0.3330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAF2F #7F2FAF
analogous
#9FAF2F #5FAF2F #2FAF3F
triadic
#5FAF2F #2F5FAF #AF2F5F
tetradic
#5FAF2F #2F9FAF #7F2FAF #AF3F2F
square
#5FAF2F #2F9FAF #7F2FAF #AF3F2F
split-complementary
#5FAF2F #3F2FAF #AF2F9F
monochromatic
#2B4F15 #457F22 #5FAF2F #7DCF4C #A0DC7C

Accessibility & contrast

On white

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

On black

7.66
#5FAF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAF2F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAF2F#FFFFFF#000000##000000
##5FAF2F1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A017
Deuteranopia (green-blind)
#AA9A3C
Tritanopia (blue-blind)
#5BA996
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5faf2f;
/* rgb */ color: rgb(95, 175, 47);
/* oklch */ color: oklch(67.8% 0.178 136.3);
Tailwind
colors: {
  custom: {
    50: '#93c770',
    500: '#5faf2f',
    950: '#000000',
  },
}
SCSS
$custom: #5faf2f;
$custom-light: #93c770;
$custom-dark: #000000;
JSON
{
  "hex": "#5faf2f",
  "rgb": {
    "r": 95,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 97.5,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67761,
    "c": 0.17848,
    "h": 136.3
  },
  "luminance": 0.33298
}

Semantic roles & 50–950 ramp

primary
#5FAF2F
secondary
#A775C4
accent
#47E1A7
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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