#8A9929#8A9929

#8A9929 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.0% C 0.134 H 117.0°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8A9929
RGBrgb(138, 153, 41)
HSLhsl(68, 58%, 38%)
HSVhsv(68, 73%, 60%)
CMYKcmyk(9.8%, 0%, 73.2%, 40%)
CIE-LABlab(60.20, -20.19, 53.64)
CIE-LCHlch(60.20, 57.31, 110.63°)
OKLaboklab(65% -0.0606 0.1192)
OKLCHoklch(65% 0.134 117)
XYZxyz(22.2732, 28.3461, 6.3954)
Luminance0.2835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9929 #382999
analogous
#997029 #8A9929 #529929
triadic
#8A9929 #298A99 #99298A
tetradic
#8A9929 #299970 #382999 #992952
square
#8A9929 #299970 #382999 #992952
split-complementary
#8A9929 #295299 #702999
monochromatic
#33380F #5E691C #8A9929 #B5C936 #C7D666

Accessibility & contrast

On white

3.15
#8A9929 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#8A9929 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9929
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9929#FFFFFF#000000##000000
##8A99291.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49114
Deuteranopia (green-blind)
#A29232
Tritanopia (blue-blind)
#939083
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9929;
/* rgb */ color: rgb(138, 153, 41);
/* oklch */ color: oklch(65.0% 0.134 117.0);
Tailwind
colors: {
  custom: {
    50: '#afb76b',
    500: '#8a9929',
    950: '#000000',
  },
}
SCSS
$custom: #8a9929;
$custom-light: #afb76b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9929",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 41
  },
  "hsl": {
    "h": 68.036,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64998,
    "c": 0.13368,
    "h": 117
  },
  "luminance": 0.28346
}

Semantic roles & 50–950 ramp

primary
#8A9929
secondary
#6E62BC
accent
#47E15B
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9929

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

Preview Lab → · Contrast checker → · Palette generator →

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