#5B8024#5B8024

#5B8024 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.3% C 0.127 H 128.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5B8024
RGBrgb(91, 128, 36)
HSLhsl(84, 56%, 32%)
HSVhsv(84, 72%, 50%)
CMYKcmyk(28.9%, 0%, 71.9%, 49.8%)
CIE-LABlab(49.24, -27.94, 43.58)
CIE-LCHlch(49.24, 51.77, 122.67°)
OKLaboklab(55.29% -0.0795 0.0984)
OKLCHoklch(55.29% 0.127 128.9)
XYZxyz(12.3520, 17.7896, 4.4517)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8024 #492480
analogous
#807724 #5B8024 #2D8024
triadic
#5B8024 #245B80 #80245B
tetradic
#5B8024 #248077 #492480 #80242D
square
#5B8024 #248077 #492480 #80242D
split-complementary
#5B8024 #242D80 #772480
monochromatic
#172009 #395017 #5B8024 #7DB031 #9BCE50

Accessibility & contrast

On white

4.61
#5B8024 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5B8024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B8024
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8024#FFFFFF#000000##FFFFFF
##5B80241.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867716
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#5E7A6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5b8024;
/* rgb */ color: rgb(91, 128, 36);
/* oklch */ color: oklch(55.3% 0.127 128.9);
Tailwind
colors: {
  custom: {
    50: '#8da565',
    500: '#5b8024',
    950: '#000000',
  },
}
SCSS
$custom: #5b8024;
$custom-light: #8da565;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8024",
  "rgb": {
    "r": 91,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 84.13,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55294,
    "c": 0.12651,
    "h": 128.9
  },
  "luminance": 0.1779
}

Semantic roles & 50–950 ramp

primary
#5B8024
secondary
#764EB2
accent
#48DF85
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5B8024

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

Preview Lab → · Contrast checker → · Palette generator →

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