#5FAD2C#5FAD2C

#5FAD2C is a light, vivid yellow-green. Relative luminance 0.325; OKLCH L 67.2% C 0.178 H 135.9°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#5FAD2C
RGBrgb(95, 173, 44)
HSLhsl(96, 59%, 43%)
HSVhsv(96, 75%, 68%)
CMYKcmyk(45.1%, 0%, 74.6%, 32.2%)
CIE-LABlab(63.75, -45.80, 55.18)
CIE-LCHlch(63.75, 71.71, 129.69°)
OKLaboklab(67.22% -0.1276 0.1238)
OKLCHoklch(67.22% 0.178 135.9)
XYZxyz(20.1170, 32.5007, 7.5956)
Luminance0.3250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAD2C #7A2CAD
analogous
#A0AD2C #5FAD2C #2CAD39
triadic
#5FAD2C #2C5FAD #AD2C5F
tetradic
#5FAD2C #2CA0AD #7A2CAD #AD392C
square
#5FAD2C #2CA0AD #7A2CAD #AD392C
split-complementary
#5FAD2C #392CAD #AD2CA0
monochromatic
#294B13 #447C20 #5FAD2C #7DD046 #9FDC77

Accessibility & contrast

On white

2.80
#5FAD2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#5FAD2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAD2C
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAD2C#FFFFFF#000000##000000
##5FAD2C1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E12
Deuteranopia (green-blind)
#A99839
Tritanopia (blue-blind)
#5CA694
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5fad2c;
/* rgb */ color: rgb(95, 173, 44);
/* oklch */ color: oklch(67.2% 0.178 135.9);
Tailwind
colors: {
  custom: {
    50: '#93c66e',
    500: '#5fad2c',
    950: '#000000',
  },
}
SCSS
$custom: #5fad2c;
$custom-light: #93c66e;
$custom-dark: #000000;
JSON
{
  "hex": "#5fad2c",
  "rgb": {
    "r": 95,
    "g": 173,
    "b": 44
  },
  "hsl": {
    "h": 96.279,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67225,
    "c": 0.17779,
    "h": 135.9
  },
  "luminance": 0.32502
}

Semantic roles & 50–950 ramp

primary
#5FAD2C
secondary
#A371C4
accent
#45E3A4
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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