#5D7629#5D7629

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

Color values

HEX#5D7629
RGBrgb(93, 118, 41)
HSLhsl(79, 48%, 31%)
HSVhsv(79, 65%, 46%)
CMYKcmyk(21.2%, 0%, 65.3%, 53.7%)
CIE-LABlab(46.24, -21.73, 38.27)
CIE-LCHlch(46.24, 44.01, 119.59°)
OKLaboklab(52.91% -0.0621 0.0879)
OKLCHoklch(52.91% 0.108 125.2)
XYZxyz(11.3929, 15.4440, 4.4782)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7629 #422976
analogous
#766829 #5D7629 #367629
triadic
#5D7629 #295D76 #76295D
tetradic
#5D7629 #297668 #422976 #762936
square
#5D7629 #297668 #422976 #762936
split-complementary
#5D7629 #293676 #682976
monochromatic
#151B09 #394919 #5D7629 #81A339 #A0C455

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D7629#FFFFFF#000000##FFFFFF
##5D76291.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)
#7C6E20
Deuteranopia (green-blind)
#796D2F
Tritanopia (blue-blind)
#617066
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d7629;
/* rgb */ color: rgb(93, 118, 41);
/* oklch */ color: oklch(52.9% 0.108 125.2);
Tailwind
colors: {
  custom: {
    50: '#8d9d66',
    500: '#5d7629',
    950: '#000000',
  },
}
SCSS
$custom: #5d7629;
$custom-light: #8d9d66;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7629",
  "rgb": {
    "r": 93,
    "g": 118,
    "b": 41
  },
  "hsl": {
    "h": 79.481,
    "s": 48.428,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52908,
    "c": 0.10761,
    "h": 125.2
  },
  "luminance": 0.15444
}

Semantic roles & 50–950 ramp

primary
#5D7629
secondary
#6E53A8
accent
#50D87C
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5D7629

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

Preview Lab → · Contrast checker → · Palette generator →

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