#5D8826#5D8826

#5D8826 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.5% C 0.135 H 130.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5D8826
RGBrgb(93, 136, 38)
HSLhsl(86, 56%, 34%)
HSVhsv(86, 72%, 53%)
CMYKcmyk(31.6%, 0%, 72.1%, 46.7%)
CIE-LABlab(51.92, -30.81, 45.54)
CIE-LCHlch(51.92, 54.99, 124.08°)
OKLaboklab(57.51% -0.0873 0.1028)
OKLCHoklch(57.51% 0.135 130.3)
XYZxyz(13.6681, 20.0750, 4.9881)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8826 #512688
analogous
#888226 #5D8826 #2C8826
triadic
#5D8826 #265D88 #88265D
tetradic
#5D8826 #268882 #512688 #88262C
square
#5D8826 #268882 #512688 #88262C
split-complementary
#5D8826 #262C88 #822688
monochromatic
#1C280B #3C5819 #5D8826 #7EB833 #9CD058

Accessibility & contrast

On white

4.19
#5D8826 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5D8826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8826
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8826#FFFFFF#000000##000000
##5D88261.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E16
Deuteranopia (green-blind)
#887B2F
Tritanopia (blue-blind)
#5F8275
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d8826;
/* rgb */ color: rgb(93, 136, 38);
/* oklch */ color: oklch(57.5% 0.135 130.3);
Tailwind
colors: {
  custom: {
    50: '#8eab67',
    500: '#5d8826',
    950: '#000000',
  },
}
SCSS
$custom: #5d8826;
$custom-light: #8eab67;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8826",
  "rgb": {
    "r": 93,
    "g": 136,
    "b": 38
  },
  "hsl": {
    "h": 86.327,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57511,
    "c": 0.13485,
    "h": 130.3
  },
  "luminance": 0.20075
}

Semantic roles & 50–950 ramp

primary
#5D8826
secondary
#7F55B5
accent
#48E08B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8826

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

Preview Lab → · Contrast checker → · Palette generator →

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