#5FA11B#5FA11B

#5FA11B is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.0% C 0.172 H 133.4°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5FA11B
RGBrgb(95, 161, 27)
HSLhsl(90, 71%, 37%)
HSVhsv(90, 83%, 63%)
CMYKcmyk(41%, 0%, 83.2%, 36.9%)
CIE-LABlab(59.89, -41.79, 56.86)
CIE-LCHlch(59.89, 70.57, 126.31°)
OKLaboklab(64.03% -0.1179 0.1248)
OKLCHoklch(64.03% 0.172 133.4)
XYZxyz(17.6617, 28.0009, 5.5108)
Luminance0.2800 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA11B #5D1BA1
analogous
#A1A01B #5FA11B #1CA11B
triadic
#5FA11B #1B5FA1 #A11B5F
tetradic
#5FA11B #1BA1A0 #5D1BA1 #A11B1C
square
#5FA11B #1BA1A0 #5D1BA1 #A11B1C
split-complementary
#5FA11B #1B1CA1 #A01BA1
monochromatic
#213809 #406D12 #5FA11B #7ED524 #9CE254

Accessibility & contrast

On white

3.18
#5FA11B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#5FA11B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA11B
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA11B#FFFFFF#000000##000000
##5FA11B1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#9F8E2B
Tritanopia (blue-blind)
#5F9A89
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5fa11b;
/* rgb */ color: rgb(95, 161, 27);
/* oklch */ color: oklch(64.0% 0.172 133.4);
Tailwind
colors: {
  custom: {
    50: '#93bd65',
    500: '#5fa11b',
    950: '#000000',
  },
}
SCSS
$custom: #5fa11b;
$custom-light: #93bd65;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa11b",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 27
  },
  "hsl": {
    "h": 89.552,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64028,
    "c": 0.17166,
    "h": 133.4
  },
  "luminance": 0.28002
}

Semantic roles & 50–950 ramp

primary
#5FA11B
secondary
#8B52C5
accent
#3AEE93
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1206
muted
#7E817A

Preview Lab

Preview with #5FA11B

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

Preview Lab → · Contrast checker → · Palette generator →

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