#5FAA2F#5FAA2F

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

Color values

HEX#5FAA2F
RGBrgb(95, 170, 47)
HSLhsl(97, 57%, 43%)
HSVhsv(97, 72%, 67%)
CMYKcmyk(44.1%, 0%, 72.4%, 33.3%)
CIE-LABlab(62.83, -44.36, 53.16)
CIE-LCHlch(62.83, 69.24, 129.84°)
OKLaboklab(66.47% -0.1235 0.12)
OKLCHoklch(66.47% 0.172 135.8)
XYZxyz(19.6066, 31.3864, 7.7138)
Luminance0.3139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAA2F #7A2FAA
analogous
#9DAA2F #5FAA2F #2FAA3C
triadic
#5FAA2F #2F5FAA #AA2F5F
tetradic
#5FAA2F #2F9DAA #7A2FAA #AA3C2F
square
#5FAA2F #2F9DAA #7A2FAA #AA3C2F
split-complementary
#5FAA2F #3C2FAA #AA2F9D
monochromatic
#294A14 #447A22 #5FAA2F #7DCD49 #9FDA79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FAA2F#FFFFFF#000000##000000
##5FAA2F1.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)
#B09C1A
Deuteranopia (green-blind)
#A6963B
Tritanopia (blue-blind)
#5CA492
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5faa2f;
/* rgb */ color: rgb(95, 170, 47);
/* oklch */ color: oklch(66.5% 0.172 135.8);
Tailwind
colors: {
  custom: {
    50: '#93c46f',
    500: '#5faa2f',
    950: '#000000',
  },
}
SCSS
$custom: #5faa2f;
$custom-light: #93c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#5faa2f",
  "rgb": {
    "r": 95,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 96.585,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66475,
    "c": 0.17223,
    "h": 135.8
  },
  "luminance": 0.31388
}

Semantic roles & 50–950 ramp

primary
#5FAA2F
secondary
#A372C2
accent
#48E0A5
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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