#8A8929#8A8929

#8A8929 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.3% C 0.116 H 108.8°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8A8929
RGBrgb(138, 137, 41)
HSLhsl(59, 54%, 35%)
HSVhsv(59, 70%, 54%)
CMYKcmyk(0%, 0.7%, 70.3%, 45.9%)
CIE-LABlab(55.54, -11.82, 49.05)
CIE-LCHlch(55.54, 50.45, 103.54°)
OKLaboklab(61.27% -0.0372 0.1095)
OKLCHoklch(61.27% 0.116 108.8)
XYZxyz(19.8278, 23.4553, 5.5803)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8929 #292A8A
analogous
#8A5829 #8A8929 #5B8A29
triadic
#8A8929 #298A89 #89298A
tetradic
#8A8929 #298A58 #292A8A #8A295B
square
#8A8929 #298A58 #292A8A #8A295B
split-complementary
#8A8929 #295B8A #58298A
monochromatic
#2C2B0D #5B5A1B #8A8929 #B9B837 #CFCE5E

Accessibility & contrast

On white

3.69
#8A8929 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8A8929 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8929
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8929#FFFFFF#000000##000000
##8A89291.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831A
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#948076
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a8929;
/* rgb */ color: rgb(138, 137, 41);
/* oklch */ color: oklch(61.3% 0.116 108.8);
Tailwind
colors: {
  custom: {
    50: '#afab69',
    500: '#8a8929',
    950: '#000000',
  },
}
SCSS
$custom: #8a8929;
$custom-light: #afab69;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8929",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 41
  },
  "hsl": {
    "h": 59.381,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61265,
    "c": 0.11565,
    "h": 108.8
  },
  "luminance": 0.23455
}

Semantic roles & 50–950 ramp

primary
#8A8929
secondary
#5A5BB5
accent
#4CDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8929

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

Preview Lab → · Contrast checker → · Palette generator →

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