#8A9829#8A9829

#8A9829 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 64.8% C 0.133 H 116.5°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8A9829
RGBrgb(138, 152, 41)
HSLhsl(68, 58%, 38%)
HSVhsv(68, 73%, 60%)
CMYKcmyk(9.2%, 0%, 73%, 40.4%)
CIE-LABlab(59.91, -19.68, 53.35)
CIE-LCHlch(59.91, 56.86, 110.25°)
OKLaboklab(64.76% -0.0592 0.1186)
OKLCHoklch(64.76% 0.133 116.5)
XYZxyz(22.1103, 28.0201, 6.3411)
Luminance0.2802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9829 #372998
analogous
#986F29 #8A9829 #529829
triadic
#8A9829 #298A98 #98298A
tetradic
#8A9829 #29986F #372998 #982952
square
#8A9829 #29986F #372998 #982952
split-complementary
#8A9829 #295298 #6F2998
monochromatic
#32380F #5E681C #8A9829 #B6C836 #C8D666

Accessibility & contrast

On white

3.18
#8A9829 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#8A9829 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9829
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9829#FFFFFF#000000##000000
##8A98291.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39014
Deuteranopia (green-blind)
#A19132
Tritanopia (blue-blind)
#938F82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a9829;
/* rgb */ color: rgb(138, 152, 41);
/* oklch */ color: oklch(64.8% 0.133 116.5);
Tailwind
colors: {
  custom: {
    50: '#afb66b',
    500: '#8a9829',
    950: '#000000',
  },
}
SCSS
$custom: #8a9829;
$custom-light: #afb66b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9829",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 41
  },
  "hsl": {
    "h": 67.568,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64763,
    "c": 0.1325,
    "h": 116.5
  },
  "luminance": 0.2802
}

Semantic roles & 50–950 ramp

primary
#8A9829
secondary
#6D61BC
accent
#47E15A
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9829

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

Preview Lab → · Contrast checker → · Palette generator →

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