#5F9724#5F9724

#5F9724 is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 61.5% C 0.155 H 132.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5F9724
RGBrgb(95, 151, 36)
HSLhsl(89, 61%, 37%)
HSVhsv(89, 76%, 59%)
CMYKcmyk(37.1%, 0%, 76.2%, 40.8%)
CIE-LABlab(56.77, -37.01, 51.16)
CIE-LCHlch(56.77, 63.14, 125.88°)
OKLaboklab(61.49% -0.1044 0.1142)
OKLCHoklch(61.49% 0.155 132.4)
XYZxyz(16.1042, 24.6928, 5.5864)
Luminance0.2469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9724 #5C2497
analogous
#979624 #5F9724 #269724
triadic
#5F9724 #245F97 #97245F
tetradic
#5F9724 #249796 #5C2497 #972426
square
#5F9724 #249796 #5C2497 #972426
split-complementary
#5F9724 #242697 #962497
monochromatic
#21340C #406618 #5F9724 #7EC830 #9CD85D

Accessibility & contrast

On white

3.54
#5F9724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#5F9724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9724
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9724#FFFFFF#000000##000000
##5F97241.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B0B
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#609181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f9724;
/* rgb */ color: rgb(95, 151, 36);
/* oklch */ color: oklch(61.5% 0.155 132.4);
Tailwind
colors: {
  custom: {
    50: '#91b668',
    500: '#5f9724',
    950: '#000000',
  },
}
SCSS
$custom: #5f9724;
$custom-light: #91b668;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9724",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 36
  },
  "hsl": {
    "h": 89.217,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61494,
    "c": 0.15473,
    "h": 132.4
  },
  "luminance": 0.24693
}

Semantic roles & 50–950 ramp

primary
#5F9724
secondary
#8A5ABD
accent
#43E592
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9724

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

Preview Lab → · Contrast checker → · Palette generator →

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