#5D7628#5D7628

#5D7628 is a mid, moderate yellow-green. Relative luminance 0.154; OKLCH L 52.9% C 0.108 H 125.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5D7628
RGBrgb(93, 118, 40)
HSLhsl(79, 49%, 31%)
HSVhsv(79, 66%, 46%)
CMYKcmyk(21.2%, 0%, 66.1%, 53.7%)
CIE-LABlab(46.23, -21.82, 38.72)
CIE-LCHlch(46.23, 44.44, 119.40°)
OKLaboklab(52.9% -0.0624 0.0887)
OKLCHoklch(52.9% 0.108 125.1)
XYZxyz(11.3757, 15.4371, 4.3874)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7628 #412876
analogous
#766828 #5D7628 #367628
triadic
#5D7628 #285D76 #76285D
tetradic
#5D7628 #287668 #412876 #762836
square
#5D7628 #287668 #412876 #762836
split-complementary
#5D7628 #283676 #682876
monochromatic
#151B09 #394819 #5D7628 #81A437 #A1C554

Accessibility & contrast

On white

5.14
#5D7628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5D7628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7628
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7628#FFFFFF#000000##FFFFFF
##5D76281.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1E
Deuteranopia (green-blind)
#796D2E
Tritanopia (blue-blind)
#617066
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d7628;
/* rgb */ color: rgb(93, 118, 40);
/* oklch */ color: oklch(52.9% 0.108 125.1);
Tailwind
colors: {
  custom: {
    50: '#8d9d66',
    500: '#5d7628',
    950: '#000000',
  },
}
SCSS
$custom: #5d7628;
$custom-light: #8d9d66;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7628",
  "rgb": {
    "r": 93,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 79.231,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52898,
    "c": 0.10848,
    "h": 125.1
  },
  "luminance": 0.15437
}

Semantic roles & 50–950 ramp

primary
#5D7628
secondary
#6D52A8
accent
#4FD97B
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5D7628

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

Preview Lab → · Contrast checker → · Palette generator →

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