#8A9429#8A9429

#8A9429 is a light, vivid yellow. Relative luminance 0.267; OKLCH L 63.8% C 0.128 H 114.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8A9429
RGBrgb(138, 148, 41)
HSLhsl(66, 57%, 37%)
HSVhsv(66, 72%, 58%)
CMYKcmyk(6.8%, 0%, 72.3%, 42%)
CIE-LABlab(58.74, -17.62, 52.21)
CIE-LCHlch(58.74, 55.10, 108.65°)
OKLaboklab(63.82% -0.0535 0.1161)
OKLCHoklch(63.82% 0.128 114.7)
XYZxyz(21.4720, 26.7436, 6.1283)
Luminance0.2674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9429 #332994
analogous
#946829 #8A9429 #559429
triadic
#8A9429 #298A94 #94298A
tetradic
#8A9429 #299468 #332994 #942955
square
#8A9429 #299468 #332994 #942955
split-complementary
#8A9429 #295594 #682994
monochromatic
#31340E #5D641C #8A9429 #B7C436 #C9D463

Accessibility & contrast

On white

3.31
#8A9429 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#8A9429 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9429
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9429#FFFFFF#000000##000000
##8A94291.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C16
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#938B7F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a9429;
/* rgb */ color: rgb(138, 148, 41);
/* oklch */ color: oklch(63.8% 0.128 114.7);
Tailwind
colors: {
  custom: {
    50: '#afb36a',
    500: '#8a9429',
    950: '#000000',
  },
}
SCSS
$custom: #8a9429;
$custom-light: #afb36a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9429",
  "rgb": {
    "r": 138,
    "g": 148,
    "b": 41
  },
  "hsl": {
    "h": 65.607,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63823,
    "c": 0.12786,
    "h": 114.7
  },
  "luminance": 0.26743
}

Semantic roles & 50–950 ramp

primary
#8A9429
secondary
#675FBA
accent
#48E056
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9429

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

Preview Lab → · Contrast checker → · Palette generator →

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