#8A8829#8A8829

#8A8829 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.0% C 0.115 H 108.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8A8829
RGBrgb(138, 136, 41)
HSLhsl(59, 54%, 35%)
HSVhsv(59, 70%, 54%)
CMYKcmyk(0%, 1.4%, 70.3%, 45.9%)
CIE-LABlab(55.25, -11.28, 48.76)
CIE-LCHlch(55.25, 50.05, 103.02°)
OKLaboklab(61.03% -0.0357 0.1089)
OKLCHoklch(61.03% 0.115 108.2)
XYZxyz(19.6863, 23.1723, 5.5331)
Luminance0.2317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8829 #292B8A
analogous
#8A5829 #8A8829 #5B8A29
triadic
#8A8829 #298A88 #88298A
tetradic
#8A8829 #298A58 #292B8A #8A295B
square
#8A8829 #298A58 #292B8A #8A295B
split-complementary
#8A8829 #295B8A #58298A
monochromatic
#2C2B0D #5B5A1B #8A8829 #B9B637 #CFCD5E

Accessibility & contrast

On white

3.73
#8A8829 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8A8829 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8829
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8829#FFFFFF#000000##000000
##8A88291.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821A
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#947F75
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a8829;
/* rgb */ color: rgb(138, 136, 41);
/* oklch */ color: oklch(61.0% 0.115 108.2);
Tailwind
colors: {
  custom: {
    50: '#afaa69',
    500: '#8a8829',
    950: '#000000',
  },
}
SCSS
$custom: #8a8829;
$custom-light: #afaa69;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8829",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 41
  },
  "hsl": {
    "h": 58.763,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61034,
    "c": 0.11459,
    "h": 108.2
  },
  "luminance": 0.23172
}

Semantic roles & 50–950 ramp

primary
#8A8829
secondary
#5A5CB5
accent
#4DDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8829

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

Preview Lab → · Contrast checker → · Palette generator →

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