#5F9725#5F9725

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

Color values

HEX#5F9725
RGBrgb(95, 151, 37)
HSLhsl(89, 61%, 37%)
HSVhsv(89, 75%, 59%)
CMYKcmyk(37.1%, 0%, 75.5%, 40.8%)
CIE-LABlab(56.78, -36.95, 50.81)
CIE-LCHlch(56.78, 62.82, 126.03°)
OKLaboklab(61.5% -0.1042 0.1136)
OKLCHoklch(61.5% 0.154 132.5)
XYZxyz(16.1196, 24.6990, 5.6680)
Luminance0.2470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9725 #5D2597
analogous
#979625 #5F9725 #269725
triadic
#5F9725 #255F97 #97255F
tetradic
#5F9725 #259796 #5D2597 #972526
square
#5F9725 #259796 #5D2597 #972526
split-complementary
#5F9725 #252697 #962597
monochromatic
#21350D #406619 #5F9725 #7EC831 #9CD85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F9725#FFFFFF#000000##000000
##5F97251.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)
#9D8B0D
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#609181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f9725;
/* rgb */ color: rgb(95, 151, 37);
/* oklch */ color: oklch(61.5% 0.154 132.5);
Tailwind
colors: {
  custom: {
    50: '#91b668',
    500: '#5f9725',
    950: '#000000',
  },
}
SCSS
$custom: #5f9725;
$custom-light: #91b668;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9725",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 37
  },
  "hsl": {
    "h": 89.474,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61501,
    "c": 0.15415,
    "h": 132.5
  },
  "luminance": 0.247
}

Semantic roles & 50–950 ramp

primary
#5F9725
secondary
#8B5BBD
accent
#44E492
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9725

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

Preview Lab → · Contrast checker → · Palette generator →

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