#5D8426#5D8426

#5D8426 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.5% C 0.129 H 129.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5D8426
RGBrgb(93, 132, 38)
HSLhsl(85, 55%, 33%)
HSVhsv(85, 71%, 52%)
CMYKcmyk(29.5%, 0%, 71.2%, 48.2%)
CIE-LABlab(50.65, -28.92, 44.25)
CIE-LCHlch(50.65, 52.86, 123.17°)
OKLaboklab(56.48% -0.0821 0.1001)
OKLCHoklch(56.48% 0.129 129.4)
XYZxyz(13.1153, 18.9693, 4.8038)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8426 #4D2684
analogous
#847C26 #5D8426 #2E8426
triadic
#5D8426 #265D84 #84265D
tetradic
#5D8426 #26847C #4D2684 #84262E
square
#5D8426 #26847C #4D2684 #84262E
split-complementary
#5D8426 #262E84 #7C2684
monochromatic
#1A250B #3C5418 #5D8426 #7EB434 #9CCE56

Accessibility & contrast

On white

4.38
#5D8426 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5D8426 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8426
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8426#FFFFFF#000000##000000
##5D84261.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A18
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#607E71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5d8426;
/* rgb */ color: rgb(93, 132, 38);
/* oklch */ color: oklch(56.5% 0.129 129.4);
Tailwind
colors: {
  custom: {
    50: '#8ea866',
    500: '#5d8426',
    950: '#000000',
  },
}
SCSS
$custom: #5d8426;
$custom-light: #8ea866;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8426",
  "rgb": {
    "r": 93,
    "g": 132,
    "b": 38
  },
  "hsl": {
    "h": 84.894,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56478,
    "c": 0.12944,
    "h": 129.4
  },
  "luminance": 0.1897
}

Semantic roles & 50–950 ramp

primary
#5D8426
secondary
#7B53B3
accent
#49DF87
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5D8426

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

Preview Lab → · Contrast checker → · Palette generator →

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