#5FA01B#5FA01B

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

Color values

HEX#5FA01B
RGBrgb(95, 160, 27)
HSLhsl(89, 71%, 37%)
HSVhsv(89, 83%, 63%)
CMYKcmyk(40.6%, 0%, 83.1%, 37.3%)
CIE-LABlab(59.57, -41.37, 56.58)
CIE-LCHlch(59.57, 70.09, 126.17°)
OKLaboklab(63.77% -0.1167 0.1242)
OKLCHoklch(63.77% 0.17 133.2)
XYZxyz(17.4877, 27.6528, 5.4528)
Luminance0.2765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA01B #5C1BA0
analogous
#A09F1B #5FA01B #1DA01B
triadic
#5FA01B #1B5FA0 #A01B5F
tetradic
#5FA01B #1BA09F #5C1BA0 #A01B1D
square
#5FA01B #1BA09F #5C1BA0 #A01B1D
split-complementary
#5FA01B #1B1DA0 #9F1BA0
monochromatic
#213709 #406C12 #5FA01B #7ED424 #9CE253

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5fa01b;
/* rgb */ color: rgb(95, 160, 27);
/* oklch */ color: oklch(63.8% 0.170 133.2);
Tailwind
colors: {
  custom: {
    50: '#92bc65',
    500: '#5fa01b',
    950: '#000000',
  },
}
SCSS
$custom: #5fa01b;
$custom-light: #92bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa01b",
  "rgb": {
    "r": 95,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 89.323,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63769,
    "c": 0.17044,
    "h": 133.2
  },
  "luminance": 0.27654
}

Semantic roles & 50–950 ramp

primary
#5FA01B
secondary
#8A52C5
accent
#3AEE92
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1206
muted
#7E817A

Preview Lab

Preview with #5FA01B

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

Preview Lab → · Contrast checker → · Palette generator →

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