#5D8829#5D8829

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

Color values

HEX#5D8829
RGBrgb(93, 136, 41)
HSLhsl(87, 54%, 35%)
HSVhsv(87, 70%, 53%)
CMYKcmyk(31.6%, 0%, 69.9%, 46.7%)
CIE-LABlab(51.94, -30.59, 44.34)
CIE-LCHlch(51.94, 53.86, 124.60°)
OKLaboklab(57.54% -0.0864 0.1007)
OKLCHoklch(57.54% 0.133 130.6)
XYZxyz(13.7185, 20.0951, 5.2533)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8829 #542988
analogous
#888429 #5D8829 #2E8829
triadic
#5D8829 #295D88 #88295D
tetradic
#5D8829 #298884 #542988 #88292E
square
#5D8829 #298884 #542988 #88292E
split-complementary
#5D8829 #292E88 #842988
monochromatic
#1D2A0D #3D591B #5D8829 #7DB737 #9BCE5D

Accessibility & contrast

On white

4.18
#5D8829 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8829#FFFFFF#000000##000000
##5D88291.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d8829;
/* rgb */ color: rgb(93, 136, 41);
/* oklch */ color: oklch(57.5% 0.133 130.6);
Tailwind
colors: {
  custom: {
    50: '#8eab68',
    500: '#5d8829',
    950: '#000000',
  },
}
SCSS
$custom: #5d8829;
$custom-light: #8eab68;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8829",
  "rgb": {
    "r": 93,
    "g": 136,
    "b": 41
  },
  "hsl": {
    "h": 87.158,
    "s": 53.672,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57537,
    "c": 0.13271,
    "h": 130.6
  },
  "luminance": 0.20096
}

Semantic roles & 50–950 ramp

primary
#5D8829
secondary
#8259B4
accent
#4BDD8D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8829

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

Preview Lab → · Contrast checker → · Palette generator →

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