#5FA01F#5FA01F

#5FA01F is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 63.8% C 0.169 H 133.5°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5FA01F
RGBrgb(95, 160, 31)
HSLhsl(90, 68%, 37%)
HSVhsv(90, 81%, 63%)
CMYKcmyk(40.6%, 0%, 80.6%, 37.3%)
CIE-LABlab(59.59, -41.18, 55.45)
CIE-LCHlch(59.59, 69.07, 126.60°)
OKLaboklab(63.79% -0.116 0.1224)
OKLCHoklch(63.79% 0.169 133.5)
XYZxyz(17.5372, 27.6726, 5.7134)
Luminance0.2767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA01F #601FA0
analogous
#9FA01F #5FA01F #1FA020
triadic
#5FA01F #1F5FA0 #A01F5F
tetradic
#5FA01F #1F9FA0 #601FA0 #A0201F
square
#5FA01F #1F9FA0 #601FA0 #A0201F
split-complementary
#5FA01F #201FA0 #A01F9F
monochromatic
#22390B #416D15 #5FA01F #7DD329 #9CDF5A

Accessibility & contrast

On white

3.21
#5FA01F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#5FA01F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA01F
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA01F#FFFFFF#000000##000000
##5FA01F1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9E8E2E
Tritanopia (blue-blind)
#5F9988
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5fa01f;
/* rgb */ color: rgb(95, 160, 31);
/* oklch */ color: oklch(63.8% 0.169 133.5);
Tailwind
colors: {
  custom: {
    50: '#92bc66',
    500: '#5fa01f',
    950: '#000000',
  },
}
SCSS
$custom: #5fa01f;
$custom-light: #92bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa01f",
  "rgb": {
    "r": 95,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 90.233,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63789,
    "c": 0.16865,
    "h": 133.5
  },
  "luminance": 0.27673
}

Semantic roles & 50–950 ramp

primary
#5FA01F
secondary
#8E58C3
accent
#3DEA95
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1206
muted
#7E817A

Preview Lab

Preview with #5FA01F

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

Preview Lab → · Contrast checker → · Palette generator →

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