#5F9525#5F9525

#5F9525 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 61.0% C 0.152 H 132.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5F9525
RGBrgb(95, 149, 37)
HSLhsl(89, 60%, 36%)
HSVhsv(89, 75%, 58%)
CMYKcmyk(36.2%, 0%, 75.2%, 41.6%)
CIE-LABlab(56.15, -36.06, 50.19)
CIE-LCHlch(56.15, 61.80, 125.70°)
OKLaboklab(60.98% -0.1018 0.1123)
OKLCHoklch(60.98% 0.152 132.2)
XYZxyz(15.8005, 24.0607, 5.5616)
Luminance0.2406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9525 #5B2595
analogous
#959325 #5F9525 #279525
triadic
#5F9525 #255F95 #95255F
tetradic
#5F9525 #259593 #5B2595 #952527
square
#5F9525 #259593 #5B2595 #952527
split-complementary
#5F9525 #252795 #932595
monochromatic
#20330D #406419 #5F9525 #7EC631 #9CD75E

Accessibility & contrast

On white

3.61
#5F9525 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#5F9525 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9525
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9525#FFFFFF#000000##000000
##5F95251.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890E
Deuteranopia (green-blind)
#948530
Tritanopia (blue-blind)
#608F7F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f9525;
/* rgb */ color: rgb(95, 149, 37);
/* oklch */ color: oklch(61.0% 0.152 132.2);
Tailwind
colors: {
  custom: {
    50: '#91b468',
    500: '#5f9525',
    950: '#000000',
  },
}
SCSS
$custom: #5f9525;
$custom-light: #91b468;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9525",
  "rgb": {
    "r": 95,
    "g": 149,
    "b": 37
  },
  "hsl": {
    "h": 88.929,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60984,
    "c": 0.15156,
    "h": 132.2
  },
  "luminance": 0.24061
}

Semantic roles & 50–950 ramp

primary
#5F9525
secondary
#895ABC
accent
#44E391
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9525

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

Preview Lab → · Contrast checker → · Palette generator →

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