#5FBA2C#5FBA2C

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

Color values

HEX#5FBA2C
RGBrgb(95, 186, 44)
HSLhsl(98, 62%, 45%)
HSVhsv(98, 76%, 73%)
CMYKcmyk(48.9%, 0%, 76.3%, 27.1%)
CIE-LABlab(67.82, -50.94, 59.15)
CIE-LCHlch(67.82, 78.06, 130.73°)
OKLaboklab(70.57% -0.1415 0.1321)
OKLCHoklch(70.57% 0.194 137)
XYZxyz(22.7322, 37.7310, 8.4673)
Luminance0.3773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FBA2C #872CBA
analogous
#A6BA2C #5FBA2C #2CBA40
triadic
#5FBA2C #2C5FBA #BA2C5F
tetradic
#5FBA2C #2CA6BA #872CBA #BA402C
square
#5FBA2C #2CA6BA #872CBA #BA402C
split-complementary
#5FBA2C #402CBA #BA2CA6
monochromatic
#2C5715 #468920 #5FBA2C #7FD54E #A2E180

Accessibility & contrast

On white

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

On black

8.55
#5FBA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FBA2C
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FBA2C#FFFFFF#000000##000000
##5FBA2C1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5fba2c;
/* rgb */ color: rgb(95, 186, 44);
/* oklch */ color: oklch(70.6% 0.194 137.0);
Tailwind
colors: {
  custom: {
    50: '#95cf70',
    500: '#5fba2c',
    950: '#000000',
  },
}
SCSS
$custom: #5fba2c;
$custom-light: #95cf70;
$custom-dark: #000000;
JSON
{
  "hex": "#5fba2c",
  "rgb": {
    "r": 95,
    "g": 186,
    "b": 44
  },
  "hsl": {
    "h": 98.451,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70567,
    "c": 0.19356,
    "h": 137
  },
  "luminance": 0.37733
}

Semantic roles & 50–950 ramp

primary
#5FBA2C
secondary
#AC78CA
accent
#43E5AB
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1408
muted
#7E827B

Preview Lab

Preview with #5FBA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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