#5F8524#5F8524

#5F8524 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.9% C 0.131 H 128.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5F8524
RGBrgb(95, 133, 36)
HSLhsl(84, 57%, 33%)
HSVhsv(84, 73%, 52%)
CMYKcmyk(28.6%, 0%, 72.9%, 47.8%)
CIE-LABlab(51.08, -28.73, 45.52)
CIE-LCHlch(51.08, 53.83, 122.26°)
OKLaboklab(56.85% -0.0819 0.1024)
OKLCHoklch(56.85% 0.131 128.7)
XYZxyz(13.4253, 19.3350, 4.6934)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8524 #4A2485
analogous
#857A24 #5F8524 #2F8524
triadic
#5F8524 #245F85 #85245F
tetradic
#5F8524 #24857A #4A2485 #85242F
square
#5F8524 #24857A #4A2485 #85242F
split-complementary
#5F8524 #242F85 #7A2485
monochromatic
#1A250A #3D5517 #5F8524 #81B531 #9FD053

Accessibility & contrast

On white

4.31
#5F8524 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5F8524 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8524
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8524#FFFFFF#000000##000000
##5F85241.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B14
Deuteranopia (green-blind)
#86792D
Tritanopia (blue-blind)
#627F72
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f8524;
/* rgb */ color: rgb(95, 133, 36);
/* oklch */ color: oklch(56.9% 0.131 128.7);
Tailwind
colors: {
  custom: {
    50: '#90a865',
    500: '#5f8524',
    950: '#000000',
  },
}
SCSS
$custom: #5f8524;
$custom-light: #90a865;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8524",
  "rgb": {
    "r": 95,
    "g": 133,
    "b": 36
  },
  "hsl": {
    "h": 83.505,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56852,
    "c": 0.13113,
    "h": 128.7
  },
  "luminance": 0.19335
}

Semantic roles & 50–950 ramp

primary
#5F8524
secondary
#7850B4
accent
#47E183
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5F8524

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

Preview Lab → · Contrast checker → · Palette generator →

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