#5FBA2B#5FBA2B

#5FBA2B is a light, vivid yellow-green. Relative luminance 0.377; OKLCH L 70.6% C 0.194 H 136.9°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#5FBA2B
RGBrgb(95, 186, 43)
HSLhsl(98, 62%, 45%)
HSVhsv(98, 77%, 73%)
CMYKcmyk(48.9%, 0%, 76.9%, 27.1%)
CIE-LABlab(67.82, -51.00, 59.47)
CIE-LCHlch(67.82, 78.35, 130.61°)
OKLaboklab(70.56% -0.1417 0.1326)
OKLCHoklch(70.56% 0.194 136.9)
XYZxyz(22.7136, 37.7236, 8.3695)
Luminance0.3772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FBA2B #862BBA
analogous
#A6BA2B #5FBA2B #2BBA3F
triadic
#5FBA2B #2B5FBA #BA2B5F
tetradic
#5FBA2B #2BA6BA #862BBA #BA3F2B
square
#5FBA2B #2BA6BA #862BBA #BA3F2B
split-complementary
#5FBA2B #3F2BBA #BA2BA6
monochromatic
#2C5714 #468820 #5FBA2B #7ED64C #A2E17E

Accessibility & contrast

On white

2.46
#5FBA2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#5FBA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FBA2B
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FBA2B#FFFFFF#000000##000000
##5FBA2B1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA04
Deuteranopia (green-blind)
#B4A23B
Tritanopia (blue-blind)
#5AB39F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #5fba2b;
/* rgb */ color: rgb(95, 186, 43);
/* oklch */ color: oklch(70.6% 0.194 136.9);
Tailwind
colors: {
  custom: {
    50: '#95cf6f',
    500: '#5fba2b',
    950: '#000000',
  },
}
SCSS
$custom: #5fba2b;
$custom-light: #95cf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5fba2b",
  "rgb": {
    "r": 95,
    "g": 186,
    "b": 43
  },
  "hsl": {
    "h": 98.182,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.7056,
    "c": 0.19408,
    "h": 136.9
  },
  "luminance": 0.37725
}

Semantic roles & 50–950 ramp

primary
#5FBA2B
secondary
#AC77CA
accent
#42E6AA
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1408
muted
#7E827B

Preview Lab

Preview with #5FBA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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