#5B8426#5B8426

#5B8426 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.3% C 0.131 H 130.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5B8426
RGBrgb(91, 132, 38)
HSLhsl(86, 55%, 33%)
HSVhsv(86, 71%, 52%)
CMYKcmyk(31.1%, 0%, 71.2%, 48.2%)
CIE-LABlab(50.53, -29.71, 44.08)
CIE-LCHlch(50.53, 53.16, 123.98°)
OKLaboklab(56.35% -0.0842 0.0998)
OKLCHoklch(56.35% 0.131 130.2)
XYZxyz(12.9154, 18.8662, 4.7944)
Luminance0.1887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8426 #4F2684
analogous
#847E26 #5B8426 #2C8426
triadic
#5B8426 #265B84 #84265B
tetradic
#5B8426 #26847E #4F2684 #84262C
square
#5B8426 #26847E #4F2684 #84262C
split-complementary
#5B8426 #262C84 #7E2684
monochromatic
#19250B #3A5418 #5B8426 #7CB434 #9ACE56

Accessibility & contrast

On white

4.40
#5B8426 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5B8426 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8426
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8426#FFFFFF#000000##000000
##5B84261.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A18
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#5D7E71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5b8426;
/* rgb */ color: rgb(91, 132, 38);
/* oklch */ color: oklch(56.3% 0.131 130.2);
Tailwind
colors: {
  custom: {
    50: '#8da866',
    500: '#5b8426',
    950: '#000000',
  },
}
SCSS
$custom: #5b8426;
$custom-light: #8da866;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8426",
  "rgb": {
    "r": 91,
    "g": 132,
    "b": 38
  },
  "hsl": {
    "h": 86.17,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56348,
    "c": 0.13052,
    "h": 130.2
  },
  "luminance": 0.18867
}

Semantic roles & 50–950 ramp

primary
#5B8426
secondary
#7D53B3
accent
#49DF8A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #5B8426

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

Preview Lab → · Contrast checker → · Palette generator →

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