#5F9625#5F9625

#5F9625 is a mid, vivid yellow-green. Relative luminance 0.244; OKLCH L 61.2% C 0.153 H 132.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5F9625
RGBrgb(95, 150, 37)
HSLhsl(89, 60%, 37%)
HSVhsv(89, 75%, 59%)
CMYKcmyk(36.7%, 0%, 75.3%, 41.2%)
CIE-LABlab(56.46, -36.50, 50.50)
CIE-LCHlch(56.46, 62.31, 125.86°)
OKLaboklab(61.24% -0.103 0.113)
OKLCHoklch(61.24% 0.153 132.4)
XYZxyz(15.9594, 24.3785, 5.6145)
Luminance0.2438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9625 #5C2596
analogous
#969525 #5F9625 #269625
triadic
#5F9625 #255F96 #96255F
tetradic
#5F9625 #259695 #5C2596 #962526
square
#5F9625 #259695 #5C2596 #962526
split-complementary
#5F9625 #252696 #952596
monochromatic
#21340D #406519 #5F9625 #7EC731 #9CD75E

Accessibility & contrast

On white

3.57
#5F9625 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#5F9625 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9625
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9625#FFFFFF#000000##000000
##5F96251.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A0E
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#609080
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f9625;
/* rgb */ color: rgb(95, 150, 37);
/* oklch */ color: oklch(61.2% 0.153 132.4);
Tailwind
colors: {
  custom: {
    50: '#91b568',
    500: '#5f9625',
    950: '#000000',
  },
}
SCSS
$custom: #5f9625;
$custom-light: #91b568;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9625",
  "rgb": {
    "r": 95,
    "g": 150,
    "b": 37
  },
  "hsl": {
    "h": 89.204,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61243,
    "c": 0.15286,
    "h": 132.4
  },
  "luminance": 0.24379
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F9625

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

Preview Lab → · Contrast checker → · Palette generator →

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