#5FAA1F#5FAA1F

#5FAA1F is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.4% C 0.181 H 134.7°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5FAA1F
RGBrgb(95, 170, 31)
HSLhsl(92, 69%, 39%)
HSVhsv(92, 82%, 67%)
CMYKcmyk(44.1%, 0%, 81.8%, 33.3%)
CIE-LABlab(62.74, -45.32, 58.35)
CIE-LCHlch(62.74, 73.88, 127.84°)
OKLaboklab(66.37% -0.1271 0.1285)
OKLCHoklch(66.37% 0.181 134.7)
XYZxyz(19.3410, 31.2802, 6.3146)
Luminance0.3128 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAA1F #6A1FAA
analogous
#A5AA1F #5FAA1F #1FAA25
triadic
#5FAA1F #1F5FAA #AA1F5F
tetradic
#5FAA1F #1FA5AA #6A1FAA #AA251F
square
#5FAA1F #1FA5AA #6A1FAA #AA251F
split-complementary
#5FAA1F #251FAA #AA1FA5
monochromatic
#25420C #427616 #5FAA1F #7CD92D #9DE261

Accessibility & contrast

On white

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

On black

7.26
#5FAA1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAA1F
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAA1F#FFFFFF#000000##000000
##5FAA1F1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#A79630
Tritanopia (blue-blind)
#5DA391
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5faa1f;
/* rgb */ color: rgb(95, 170, 31);
/* oklch */ color: oklch(66.4% 0.181 134.7);
Tailwind
colors: {
  custom: {
    50: '#93c468',
    500: '#5faa1f',
    950: '#000000',
  },
}
SCSS
$custom: #5faa1f;
$custom-light: #93c468;
$custom-dark: #000000;
JSON
{
  "hex": "#5faa1f",
  "rgb": {
    "r": 95,
    "g": 170,
    "b": 31
  },
  "hsl": {
    "h": 92.374,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66373,
    "c": 0.18077,
    "h": 134.7
  },
  "luminance": 0.31281
}

Semantic roles & 50–950 ramp

primary
#5FAA1F
secondary
#975EC7
accent
#3CEC9B
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FAA1F

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

Preview Lab → · Contrast checker → · Palette generator →

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