#8A8429#8A8429

#8A8429 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.1% C 0.110 H 105.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8A8429
RGBrgb(138, 132, 41)
HSLhsl(56, 54%, 35%)
HSVhsv(56, 70%, 54%)
CMYKcmyk(0%, 4.3%, 70.3%, 45.9%)
CIE-LABlab(54.10, -9.11, 47.61)
CIE-LCHlch(54.10, 48.47, 100.83°)
OKLaboklab(60.12% -0.0296 0.1065)
OKLCHoklch(60.12% 0.11 105.5)
XYZxyz(19.1335, 22.0666, 5.3488)
Luminance0.2207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8429 #292F8A
analogous
#8A5429 #8A8429 #5F8A29
triadic
#8A8429 #298A84 #84298A
tetradic
#8A8429 #298A54 #292F8A #8A295F
square
#8A8429 #298A54 #292F8A #8A295F
split-complementary
#8A8429 #295F8A #54298A
monochromatic
#2C2A0D #5B571B #8A8429 #B9B137 #CFC85E

Accessibility & contrast

On white

3.88
#8A8429 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8A8429 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8429
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8429#FFFFFF#000000##000000
##8A84291.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1B
Deuteranopia (green-blind)
#92832F
Tritanopia (blue-blind)
#947B72
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a8429;
/* rgb */ color: rgb(138, 132, 41);
/* oklch */ color: oklch(60.1% 0.110 105.5);
Tailwind
colors: {
  custom: {
    50: '#afa769',
    500: '#8a8429',
    950: '#000000',
  },
}
SCSS
$custom: #8a8429;
$custom-light: #afa769;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8429",
  "rgb": {
    "r": 138,
    "g": 132,
    "b": 41
  },
  "hsl": {
    "h": 56.289,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60116,
    "c": 0.11049,
    "h": 105.5
  },
  "luminance": 0.22066
}

Semantic roles & 50–950 ramp

primary
#8A8429
secondary
#5A60B5
accent
#53DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A8429

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

Preview Lab → · Contrast checker → · Palette generator →

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