#5D8129#5D8129

#5D8129 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.7% C 0.123 H 128.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5D8129
RGBrgb(93, 129, 41)
HSLhsl(85, 52%, 33%)
HSVhsv(85, 68%, 51%)
CMYKcmyk(27.9%, 0%, 68.2%, 49.4%)
CIE-LABlab(49.72, -27.24, 42.01)
CIE-LCHlch(49.72, 50.06, 122.96°)
OKLaboklab(55.73% -0.0772 0.0958)
OKLCHoklch(55.73% 0.123 128.9)
XYZxyz(12.7647, 18.1875, 4.9354)
Luminance0.1819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8129 #4D2981
analogous
#817929 #5D8129 #318129
triadic
#5D8129 #295D81 #81295D
tetradic
#5D8129 #298179 #4D2981 #812931
square
#5D8129 #298179 #4D2981 #812931
split-complementary
#5D8129 #293181 #792981
monochromatic
#1A240B #3C531A #5D8129 #7EAF38 #9CCB5A

Accessibility & contrast

On white

4.53
#5D8129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#5D8129 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8129
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8129#FFFFFF#000000##000000
##5D81291.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781D
Deuteranopia (green-blind)
#827530
Tritanopia (blue-blind)
#607B6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5d8129;
/* rgb */ color: rgb(93, 129, 41);
/* oklch */ color: oklch(55.7% 0.123 128.9);
Tailwind
colors: {
  custom: {
    50: '#8ea568',
    500: '#5d8129',
    950: '#000000',
  },
}
SCSS
$custom: #5d8129;
$custom-light: #8ea568;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8129",
  "rgb": {
    "r": 93,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 84.545,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55732,
    "c": 0.12307,
    "h": 128.9
  },
  "luminance": 0.18188
}

Semantic roles & 50–950 ramp

primary
#5D8129
secondary
#7B56B0
accent
#4DDB87
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F06
muted
#7D7F7A

Preview Lab

Preview with #5D8129

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

Preview Lab → · Contrast checker → · Palette generator →

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