#5FAD2A#5FAD2A

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

Color values

HEX#5FAD2A
RGBrgb(95, 173, 42)
HSLhsl(96, 61%, 42%)
HSVhsv(96, 76%, 68%)
CMYKcmyk(45.1%, 0%, 75.7%, 32.2%)
CIE-LABlab(63.74, -45.93, 55.86)
CIE-LCHlch(63.74, 72.32, 129.43°)
OKLaboklab(67.21% -0.1281 0.1249)
OKLCHoklch(67.21% 0.179 135.7)
XYZxyz(20.0803, 32.4860, 7.4024)
Luminance0.3249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAD2A #782AAD
analogous
#A1AD2A #5FAD2A #2AAD36
triadic
#5FAD2A #2A5FAD #AD2A5F
tetradic
#5FAD2A #2AA1AD #782AAD #AD362A
square
#5FAD2A #2AA1AD #782AAD #AD362A
split-complementary
#5FAD2A #362AAD #AD2AA1
monochromatic
#294B12 #447C1E #5FAD2A #7DD143 #9FDD74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FAD2A#FFFFFF#000000##000000
##5FAD2A1.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)
#B39E0C
Deuteranopia (green-blind)
#A99838
Tritanopia (blue-blind)
#5CA694
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5fad2a;
/* rgb */ color: rgb(95, 173, 42);
/* oklch */ color: oklch(67.2% 0.179 135.7);
Tailwind
colors: {
  custom: {
    50: '#93c66d',
    500: '#5fad2a',
    950: '#000000',
  },
}
SCSS
$custom: #5fad2a;
$custom-light: #93c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#5fad2a",
  "rgb": {
    "r": 95,
    "g": 173,
    "b": 42
  },
  "hsl": {
    "h": 95.725,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67211,
    "c": 0.17893,
    "h": 135.7
  },
  "luminance": 0.32487
}

Semantic roles & 50–950 ramp

primary
#5FAD2A
secondary
#A26EC5
accent
#44E4A3
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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