#8A9729#8A9729

#8A9729 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.5% C 0.131 H 116.1°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8A9729
RGBrgb(138, 151, 41)
HSLhsl(67, 57%, 38%)
HSVhsv(67, 73%, 59%)
CMYKcmyk(8.6%, 0%, 72.8%, 40.8%)
CIE-LABlab(59.61, -19.17, 53.07)
CIE-LCHlch(59.61, 56.42, 109.86°)
OKLaboklab(64.53% -0.0578 0.118)
OKLCHoklch(64.53% 0.131 116.1)
XYZxyz(21.9486, 27.6969, 6.2872)
Luminance0.2770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9729 #362997
analogous
#976D29 #8A9729 #539729
triadic
#8A9729 #298A97 #97298A
tetradic
#8A9729 #29976D #362997 #972953
square
#8A9729 #29976D #362997 #972953
split-complementary
#8A9729 #295397 #6D2997
monochromatic
#32370F #5E671C #8A9729 #B6C736 #C8D565

Accessibility & contrast

On white

3.21
#8A9729 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#8A9729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9729
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9729#FFFFFF#000000##000000
##8A97291.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F15
Deuteranopia (green-blind)
#A19032
Tritanopia (blue-blind)
#938E82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a9729;
/* rgb */ color: rgb(138, 151, 41);
/* oklch */ color: oklch(64.5% 0.131 116.1);
Tailwind
colors: {
  custom: {
    50: '#afb56b',
    500: '#8a9729',
    950: '#000000',
  },
}
SCSS
$custom: #8a9729;
$custom-light: #afb56b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9729",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 41
  },
  "hsl": {
    "h": 67.091,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64527,
    "c": 0.13134,
    "h": 116.1
  },
  "luminance": 0.27697
}

Semantic roles & 50–950 ramp

primary
#8A9729
secondary
#6B61BB
accent
#47E159
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9729

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

Preview Lab → · Contrast checker → · Palette generator →

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