#5FA92F#5FA92F

#5FA92F is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.2% C 0.171 H 135.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#5FA92F
RGBrgb(95, 169, 47)
HSLhsl(96, 56%, 42%)
HSVhsv(96, 72%, 66%)
CMYKcmyk(43.8%, 0%, 72.2%, 33.7%)
CIE-LABlab(62.52, -43.95, 52.84)
CIE-LCHlch(62.52, 68.73, 129.75°)
OKLaboklab(66.22% -0.1224 0.1194)
OKLCHoklch(66.22% 0.171 135.7)
XYZxyz(19.4199, 31.0129, 7.6516)
Luminance0.3101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA92F #792FA9
analogous
#9CA92F #5FA92F #2FA93C
triadic
#5FA92F #2F5FA9 #A92F5F
tetradic
#5FA92F #2F9CA9 #792FA9 #A93C2F
square
#5FA92F #2F9CA9 #792FA9 #A93C2F
split-complementary
#5FA92F #3C2FA9 #A92F9C
monochromatic
#294914 #447922 #5FA92F #7DCC49 #9FDA79

Accessibility & contrast

On white

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

On black

7.20
#5FA92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA92F
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA92F#FFFFFF#000000##000000
##5FA92F1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1A
Deuteranopia (green-blind)
#A5953B
Tritanopia (blue-blind)
#5CA391
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5fa92f;
/* rgb */ color: rgb(95, 169, 47);
/* oklch */ color: oklch(66.2% 0.171 135.7);
Tailwind
colors: {
  custom: {
    50: '#93c36f',
    500: '#5fa92f',
    950: '#000000',
  },
}
SCSS
$custom: #5fa92f;
$custom-light: #93c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa92f",
  "rgb": {
    "r": 95,
    "g": 169,
    "b": 47
  },
  "hsl": {
    "h": 96.393,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66217,
    "c": 0.17096,
    "h": 135.7
  },
  "luminance": 0.31014
}

Semantic roles & 50–950 ramp

primary
#5FA92F
secondary
#A272C2
accent
#48E0A4
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1208
muted
#7E817B

Preview Lab

Preview with #5FA92F

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

Preview Lab → · Contrast checker → · Palette generator →

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