#5A6729#5A6729

#5A6729 is a mid, moderate yellow-green. Relative luminance 0.120; OKLCH L 48.9% C 0.088 H 119.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5A6729
RGBrgb(90, 103, 41)
HSLhsl(73, 43%, 28%)
HSVhsv(73, 60%, 40%)
CMYKcmyk(12.6%, 0%, 60.2%, 59.6%)
CIE-LABlab(41.27, -15.08, 32.69)
CIE-LCHlch(41.27, 36.01, 114.77°)
OKLaboklab(48.85% -0.0434 0.0761)
OKLCHoklch(48.85% 0.088 119.7)
XYZxyz(9.4670, 12.0343, 3.9215)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A6729 #362967
analogous
#675529 #5A6729 #3B6729
triadic
#5A6729 #295A67 #67295A
tetradic
#5A6729 #296755 #362967 #67293B
square
#5A6729 #296755 #362967 #67293B
split-complementary
#5A6729 #293B67 #552967
monochromatic
#131609 #343B18 #5A6729 #80933A #A4BA51

Accessibility & contrast

On white

6.16
#5A6729 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5A6729 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A6729
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A6729#FFFFFF#000000##FFFFFF
##5A67291.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6123
Deuteranopia (green-blind)
#6C622D
Tritanopia (blue-blind)
#5F6259
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a6729;
/* rgb */ color: rgb(90, 103, 41);
/* oklch */ color: oklch(48.9% 0.088 119.7);
Tailwind
colors: {
  custom: {
    50: '#8a9265',
    500: '#5a6729',
    950: '#000000',
  },
}
SCSS
$custom: #5a6729;
$custom-light: #8a9265;
$custom-dark: #000000;
JSON
{
  "hex": "#5a6729",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 41
  },
  "hsl": {
    "h": 72.581,
    "s": 43.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4885,
    "c": 0.08759,
    "h": 119.7
  },
  "luminance": 0.12034
}

Semantic roles & 50–950 ramp

primary
#5A6729
secondary
#615299
accent
#55D36F
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0C0D06
muted
#7D7D7A

Preview Lab

Preview with #5A6729

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

Preview Lab → · Contrast checker → · Palette generator →

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