#5FA02F#5FA02F

#5FA02F is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 63.9% C 0.159 H 134.7°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5FA02F
RGBrgb(95, 160, 47)
HSLhsl(95, 55%, 41%)
HSVhsv(95, 71%, 63%)
CMYKcmyk(40.6%, 0%, 70.6%, 37.3%)
CIE-LABlab(59.69, -40.16, 49.95)
CIE-LCHlch(59.69, 64.09, 128.80°)
OKLaboklab(63.9% -0.1121 0.1133)
OKLCHoklch(63.9% 0.159 134.7)
XYZxyz(17.8028, 27.7788, 7.1126)
Luminance0.2778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA02F #702FA0
analogous
#97A02F #5FA02F #2FA037
triadic
#5FA02F #2F5FA0 #A02F5F
tetradic
#5FA02F #2F97A0 #702FA0 #A0372F
square
#5FA02F #2F97A0 #702FA0 #A0372F
split-complementary
#5FA02F #372FA0 #A02F97
monochromatic
#274113 #437121 #5FA02F #7CC844 #9DD673

Accessibility & contrast

On white

3.20
#5FA02F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#5FA02F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA02F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA02F#FFFFFF#000000##000000
##5FA02F1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931D
Deuteranopia (green-blind)
#9D8E39
Tritanopia (blue-blind)
#5E9A8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5fa02f;
/* rgb */ color: rgb(95, 160, 47);
/* oklch */ color: oklch(63.9% 0.159 134.7);
Tailwind
colors: {
  custom: {
    50: '#92bc6e',
    500: '#5fa02f',
    950: '#000000',
  },
}
SCSS
$custom: #5fa02f;
$custom-light: #92bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa02f",
  "rgb": {
    "r": 95,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 94.513,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63899,
    "c": 0.15941,
    "h": 134.7
  },
  "luminance": 0.2778
}

Semantic roles & 50–950 ramp

primary
#5FA02F
secondary
#9B6DBE
accent
#4ADE9F
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA02F

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

Preview Lab → · Contrast checker → · Palette generator →

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