#5F9925#5F9925

#5F9925 is a light, vivid yellow-green. Relative luminance 0.253; OKLCH L 62.0% C 0.157 H 132.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5F9925
RGBrgb(95, 153, 37)
HSLhsl(90, 61%, 37%)
HSVhsv(90, 76%, 60%)
CMYKcmyk(37.9%, 0%, 75.8%, 40%)
CIE-LABlab(57.41, -37.83, 51.43)
CIE-LCHlch(57.41, 63.84, 126.34°)
OKLaboklab(62.02% -0.1066 0.1149)
OKLCHoklch(62.02% 0.157 132.8)
XYZxyz(16.4442, 25.3482, 5.7762)
Luminance0.2535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9925 #5F2599
analogous
#999925 #5F9925 #259925
triadic
#5F9925 #255F99 #99255F
tetradic
#5F9925 #259999 #5F2599 #992525
square
#5F9925 #259999 #5F2599 #992525
split-complementary
#5F9925 #252599 #992599
monochromatic
#22360D #406819 #5F9925 #7ECA31 #9CD960

Accessibility & contrast

On white

3.46
#5F9925 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#5F9925 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9925
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9925#FFFFFF#000000##000000
##5F99251.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D0C
Deuteranopia (green-blind)
#988831
Tritanopia (blue-blind)
#609383
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f9925;
/* rgb */ color: rgb(95, 153, 37);
/* oklch */ color: oklch(62.0% 0.157 132.8);
Tailwind
colors: {
  custom: {
    50: '#91b768',
    500: '#5f9925',
    950: '#000000',
  },
}
SCSS
$custom: #5f9925;
$custom-light: #91b768;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9925",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 37
  },
  "hsl": {
    "h": 90,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62017,
    "c": 0.15671,
    "h": 132.8
  },
  "luminance": 0.25349
}

Semantic roles & 50–950 ramp

primary
#5F9925
secondary
#8D5CBE
accent
#44E494
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9925

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

Preview Lab → · Contrast checker → · Palette generator →

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