#5FA91F#5FA91F

#5FA91F is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.1% C 0.180 H 134.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5FA91F
RGBrgb(95, 169, 31)
HSLhsl(92, 69%, 39%)
HSVhsv(92, 82%, 66%)
CMYKcmyk(43.8%, 0%, 81.7%, 33.7%)
CIE-LABlab(62.43, -44.91, 58.06)
CIE-LCHlch(62.43, 73.41, 127.72°)
OKLaboklab(66.11% -0.126 0.1279)
OKLCHoklch(66.11% 0.18 134.6)
XYZxyz(19.1542, 30.9067, 6.2524)
Luminance0.3091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA91F #691FA9
analogous
#A4A91F #5FA91F #1FA924
triadic
#5FA91F #1F5FA9 #A91F5F
tetradic
#5FA91F #1FA4A9 #691FA9 #A9241F
square
#5FA91F #1FA4A9 #691FA9 #A9241F
split-complementary
#5FA91F #241FA9 #A91FA4
monochromatic
#25420C #427516 #5FA91F #7CD82D #9DE260

Accessibility & contrast

On white

2.92
#5FA91F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#5FA91F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA91F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA91F#FFFFFF#000000##000000
##5FA91F1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A6952F
Tritanopia (blue-blind)
#5EA290
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5fa91f;
/* rgb */ color: rgb(95, 169, 31);
/* oklch */ color: oklch(66.1% 0.180 134.6);
Tailwind
colors: {
  custom: {
    50: '#93c368',
    500: '#5fa91f',
    950: '#000000',
  },
}
SCSS
$custom: #5fa91f;
$custom-light: #93c368;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa91f",
  "rgb": {
    "r": 95,
    "g": 169,
    "b": 31
  },
  "hsl": {
    "h": 92.174,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66115,
    "c": 0.17957,
    "h": 134.6
  },
  "luminance": 0.30908
}

Semantic roles & 50–950 ramp

primary
#5FA91F
secondary
#965DC7
accent
#3CEC9A
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA91F

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

Preview Lab → · Contrast checker → · Palette generator →

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