#5A9729#5A9729

#5A9729 is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.3% C 0.154 H 134.3°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5A9729
RGBrgb(90, 151, 41)
HSLhsl(93, 57%, 38%)
HSVhsv(93, 73%, 59%)
CMYKcmyk(40.4%, 0%, 72.8%, 40.8%)
CIE-LABlab(56.55, -38.48, 49.01)
CIE-LCHlch(56.55, 62.31, 128.14°)
OKLaboklab(61.25% -0.1077 0.1105)
OKLCHoklch(61.25% 0.154 134.3)
XYZxyz(15.6830, 24.4662, 5.9935)
Luminance0.2447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9729 #662997
analogous
#919729 #5A9729 #29972F
triadic
#5A9729 #295A97 #97295A
tetradic
#5A9729 #299197 #662997 #972F29
square
#5A9729 #299197 #662997 #972F29
split-complementary
#5A9729 #2F2997 #972991
monochromatic
#21370F #3D671C #5A9729 #77C736 #97D565

Accessibility & contrast

On white

3.56
#5A9729 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#5A9729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9729
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9729#FFFFFF#000000##000000
##5A97291.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B16
Deuteranopia (green-blind)
#958633
Tritanopia (blue-blind)
#599181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5a9729;
/* rgb */ color: rgb(90, 151, 41);
/* oklch */ color: oklch(61.3% 0.154 134.3);
Tailwind
colors: {
  custom: {
    50: '#8eb66a',
    500: '#5a9729',
    950: '#000000',
  },
}
SCSS
$custom: #5a9729;
$custom-light: #8eb66a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9729",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 41
  },
  "hsl": {
    "h": 93.273,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61253,
    "c": 0.15433,
    "h": 134.3
  },
  "luminance": 0.24467
}

Semantic roles & 50–950 ramp

primary
#5A9729
secondary
#9361BB
accent
#47E19C
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5A9729

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

Preview Lab → · Contrast checker → · Palette generator →

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