#5FA01C#5FA01C

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

Color values

HEX#5FA01C
RGBrgb(95, 160, 28)
HSLhsl(90, 70%, 37%)
HSVhsv(90, 83%, 63%)
CMYKcmyk(40.6%, 0%, 82.5%, 37.3%)
CIE-LABlab(59.58, -41.32, 56.31)
CIE-LCHlch(59.58, 69.84, 126.27°)
OKLaboklab(63.77% -0.1166 0.1238)
OKLCHoklch(63.77% 0.17 133.3)
XYZxyz(17.4995, 27.6575, 5.5148)
Luminance0.2766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA01C #5D1CA0
analogous
#A09F1C #5FA01C #1DA01C
triadic
#5FA01C #1C5FA0 #A01C5F
tetradic
#5FA01C #1CA09F #5D1CA0 #A01C1D
square
#5FA01C #1CA09F #5D1CA0 #A01C1D
split-complementary
#5FA01C #1C1DA0 #9F1CA0
monochromatic
#21380A #406C13 #5FA01C #7ED425 #9CE155

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA01C#FFFFFF#000000##000000
##5FA01C1.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)
#9E8E2C
Tritanopia (blue-blind)
#5F9988
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5fa01c;
/* rgb */ color: rgb(95, 160, 28);
/* oklch */ color: oklch(63.8% 0.170 133.3);
Tailwind
colors: {
  custom: {
    50: '#92bc65',
    500: '#5fa01c',
    950: '#000000',
  },
}
SCSS
$custom: #5fa01c;
$custom-light: #92bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa01c",
  "rgb": {
    "r": 95,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 89.545,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63774,
    "c": 0.17002,
    "h": 133.3
  },
  "luminance": 0.27658
}

Semantic roles & 50–950 ramp

primary
#5FA01C
secondary
#8B53C4
accent
#3BED93
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1206
muted
#7E817A

Preview Lab

Preview with #5FA01C

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

Preview Lab → · Contrast checker → · Palette generator →

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