#5FBA2F#5FBA2F

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

Color values

HEX#5FBA2F
RGBrgb(95, 186, 47)
HSLhsl(99, 60%, 46%)
HSVhsv(99, 75%, 73%)
CMYKcmyk(48.9%, 0%, 74.7%, 27.1%)
CIE-LABlab(67.84, -50.75, 58.16)
CIE-LCHlch(67.84, 77.19, 131.11°)
OKLaboklab(70.59% -0.1408 0.1305)
OKLCHoklch(70.59% 0.192 137.2)
XYZxyz(22.7906, 37.7544, 8.7752)
Luminance0.3776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FBA2F #8A2FBA
analogous
#A4BA2F #5FBA2F #2FBA45
triadic
#5FBA2F #2F5FBA #BA2F5F
tetradic
#5FBA2F #2FA4BA #8A2FBA #BA452F
square
#5FBA2F #2FA4BA #8A2FBA #BA452F
split-complementary
#5FBA2F #452FBA #BA2FA4
monochromatic
#2D5816 #468923 #5FBA2F #7FD353 #A3E084

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FBA2F#FFFFFF#000000##000000
##5FBA2F1.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)
#C0AA12
Deuteranopia (green-blind)
#B4A23D
Tritanopia (blue-blind)
#59B39F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #5fba2f;
/* rgb */ color: rgb(95, 186, 47);
/* oklch */ color: oklch(70.6% 0.192 137.2);
Tailwind
colors: {
  custom: {
    50: '#95cf71',
    500: '#5fba2f',
    950: '#000000',
  },
}
SCSS
$custom: #5fba2f;
$custom-light: #95cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#5fba2f",
  "rgb": {
    "r": 95,
    "g": 186,
    "b": 47
  },
  "hsl": {
    "h": 99.281,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70586,
    "c": 0.19193,
    "h": 137.2
  },
  "luminance": 0.37756
}

Semantic roles & 50–950 ramp

primary
#5FBA2F
secondary
#AE7CC9
accent
#45E3AC
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1408
muted
#7E827B

Preview Lab

Preview with #5FBA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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