#5FA015#5FA015

#5FA015 is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 63.7% C 0.173 H 133.0°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5FA015
RGBrgb(95, 160, 21)
HSLhsl(88, 77%, 35%)
HSVhsv(88, 87%, 63%)
CMYKcmyk(40.6%, 0%, 86.9%, 37.3%)
CIE-LABlab(59.55, -41.61, 58.05)
CIE-LCHlch(59.55, 71.42, 125.63°)
OKLaboklab(63.74% -0.1177 0.1264)
OKLCHoklch(63.74% 0.173 133)
XYZxyz(17.4252, 27.6278, 5.1239)
Luminance0.2763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA015 #5615A0
analogous
#A09C15 #5FA015 #19A015
triadic
#5FA015 #155FA0 #A0155F
tetradic
#5FA015 #15A09C #5615A0 #A01519
square
#5FA015 #15A09C #5615A0 #A01519
split-complementary
#5FA015 #1519A0 #9C15A0
monochromatic
#1F3407 #3F6A0E #5FA015 #7FD61C #9DE748

Accessibility & contrast

On white

3.22
#5FA015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA015#FFFFFF#000000##000000
##5FA0151.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5fa015;
/* rgb */ color: rgb(95, 160, 21);
/* oklch */ color: oklch(63.7% 0.173 133.0);
Tailwind
colors: {
  custom: {
    50: '#93bc63',
    500: '#5fa015',
    950: '#000000',
  },
}
SCSS
$custom: #5fa015;
$custom-light: #93bc63;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa015",
  "rgb": {
    "r": 95,
    "g": 160,
    "b": 21
  },
  "hsl": {
    "h": 88.058,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63743,
    "c": 0.17275,
    "h": 133
  },
  "luminance": 0.27629
}

Semantic roles & 50–950 ramp

primary
#5FA015
secondary
#8449C8
accent
#34F38E
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1206
muted
#7E817A

Preview Lab

Preview with #5FA015

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

Preview Lab → · Contrast checker → · Palette generator →

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