#8A8A29#8A8A29

#8A8A29 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.5% C 0.117 H 109.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8A8A29
RGBrgb(138, 138, 41)
HSLhsl(60, 54%, 35%)
HSVhsv(60, 70%, 54%)
CMYKcmyk(0%, 0%, 70.3%, 45.9%)
CIE-LABlab(55.83, -12.35, 49.34)
CIE-LCHlch(55.83, 50.86, 104.05°)
OKLaboklab(61.5% -0.0387 0.1101)
OKLCHoklch(61.5% 0.117 109.4)
XYZxyz(19.9706, 23.7409, 5.6279)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A29 #29298A
analogous
#8A5929 #8A8A29 #598A29
triadic
#8A8A29 #298A8A #8A298A
tetradic
#8A8A29 #298A59 #29298A #8A2959
square
#8A8A29 #298A59 #29298A #8A2959
split-complementary
#8A8A29 #29598A #59298A
monochromatic
#2C2C0D #5B5B1B #8A8A29 #B9B937 #CFCF5E

Accessibility & contrast

On white

3.65
#8A8A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#8A8A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A29
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A29#FFFFFF#000000##000000
##8A8A291.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841A
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#948177
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8a29;
/* rgb */ color: rgb(138, 138, 41);
/* oklch */ color: oklch(61.5% 0.117 109.4);
Tailwind
colors: {
  custom: {
    50: '#afab69',
    500: '#8a8a29',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a29;
$custom-light: #afab69;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a29",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 41
  },
  "hsl": {
    "h": 60,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61495,
    "c": 0.11672,
    "h": 109.4
  },
  "luminance": 0.2374
}

Semantic roles & 50–950 ramp

primary
#8A8A29
secondary
#5A5AB5
accent
#4ADE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8A29

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

Preview Lab → · Contrast checker → · Palette generator →

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