#5FAA2E#5FAA2E

#5FAA2E is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.5% C 0.173 H 135.7°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5FAA2E
RGBrgb(95, 170, 46)
HSLhsl(96, 57%, 42%)
HSVhsv(96, 73%, 67%)
CMYKcmyk(44.1%, 0%, 72.9%, 33.3%)
CIE-LABlab(62.83, -44.43, 53.53)
CIE-LCHlch(62.83, 69.57, 129.70°)
OKLaboklab(66.47% -0.1238 0.1206)
OKLCHoklch(66.47% 0.173 135.7)
XYZxyz(19.5867, 31.3784, 7.6088)
Luminance0.3138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAA2E #792EAA
analogous
#9DAA2E #5FAA2E #2EAA3B
triadic
#5FAA2E #2E5FAA #AA2E5F
tetradic
#5FAA2E #2E9DAA #792EAA #AA3B2E
square
#5FAA2E #2E9DAA #792EAA #AA3B2E
split-complementary
#5FAA2E #3B2EAA #AA2E9D
monochromatic
#294A14 #447A21 #5FAA2E #7DCD48 #9FDA78

Accessibility & contrast

On white

2.89
#5FAA2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#5FAA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAA2E
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAA2E#FFFFFF#000000##000000
##5FAA2E1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C18
Deuteranopia (green-blind)
#A6963A
Tritanopia (blue-blind)
#5CA492
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5faa2e;
/* rgb */ color: rgb(95, 170, 46);
/* oklch */ color: oklch(66.5% 0.173 135.7);
Tailwind
colors: {
  custom: {
    50: '#93c46f',
    500: '#5faa2e',
    950: '#000000',
  },
}
SCSS
$custom: #5faa2e;
$custom-light: #93c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#5faa2e",
  "rgb": {
    "r": 95,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 96.29,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66467,
    "c": 0.17285,
    "h": 135.7
  },
  "luminance": 0.3138
}

Semantic roles & 50–950 ramp

primary
#5FAA2E
secondary
#A271C3
accent
#47E1A4
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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