#5F9825#5F9825

#5F9825 is a mid, vivid yellow-green. Relative luminance 0.250; OKLCH L 61.8% C 0.155 H 132.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5F9825
RGBrgb(95, 152, 37)
HSLhsl(90, 61%, 37%)
HSVhsv(90, 76%, 60%)
CMYKcmyk(37.5%, 0%, 75.7%, 40.4%)
CIE-LABlab(57.10, -37.39, 51.12)
CIE-LCHlch(57.10, 63.33, 126.18°)
OKLaboklab(61.76% -0.1054 0.1143)
OKLCHoklch(61.76% 0.155 132.7)
XYZxyz(16.2813, 25.0222, 5.7218)
Luminance0.2502 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9825 #5E2598
analogous
#989825 #5F9825 #269825
triadic
#5F9825 #255F98 #98255F
tetradic
#5F9825 #259898 #5E2598 #982526
square
#5F9825 #259898 #5E2598 #982526
split-complementary
#5F9825 #252698 #982598
monochromatic
#21360D #406719 #5F9825 #7EC931 #9CD85F

Accessibility & contrast

On white

3.50
#5F9825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#5F9825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9825
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9825#FFFFFF#000000##000000
##5F98251.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C0D
Deuteranopia (green-blind)
#978730
Tritanopia (blue-blind)
#609282
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5f9825;
/* rgb */ color: rgb(95, 152, 37);
/* oklch */ color: oklch(61.8% 0.155 132.7);
Tailwind
colors: {
  custom: {
    50: '#91b668',
    500: '#5f9825',
    950: '#000000',
  },
}
SCSS
$custom: #5f9825;
$custom-light: #91b668;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9825",
  "rgb": {
    "r": 95,
    "g": 152,
    "b": 37
  },
  "hsl": {
    "h": 89.739,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61759,
    "c": 0.15543,
    "h": 132.7
  },
  "luminance": 0.25023
}

Semantic roles & 50–950 ramp

primary
#5F9825
secondary
#8C5CBD
accent
#44E493
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9825

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

Preview Lab → · Contrast checker → · Palette generator →

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