#8A8629#8A8629

#8A8629 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.6% C 0.113 H 106.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8A8629
RGBrgb(138, 134, 41)
HSLhsl(58, 54%, 35%)
HSVhsv(58, 70%, 54%)
CMYKcmyk(0%, 2.9%, 70.3%, 45.9%)
CIE-LABlab(54.67, -10.20, 48.19)
CIE-LCHlch(54.67, 49.25, 101.95°)
OKLaboklab(60.57% -0.0327 0.1077)
OKLCHoklch(60.57% 0.113 106.9)
XYZxyz(19.4073, 22.6142, 5.4401)
Luminance0.2261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8629 #292D8A
analogous
#8A5629 #8A8629 #5D8A29
triadic
#8A8629 #298A86 #86298A
tetradic
#8A8629 #298A56 #292D8A #8A295D
square
#8A8629 #298A56 #292D8A #8A295D
split-complementary
#8A8629 #295D8A #56298A
monochromatic
#2C2A0D #5B581B #8A8629 #B9B437 #CFCB5E

Accessibility & contrast

On white

3.80
#8A8629 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8A8629 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8629
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8629#FFFFFF#000000##000000
##8A86291.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811B
Deuteranopia (green-blind)
#93842F
Tritanopia (blue-blind)
#947D73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a8629;
/* rgb */ color: rgb(138, 134, 41);
/* oklch */ color: oklch(60.6% 0.113 106.9);
Tailwind
colors: {
  custom: {
    50: '#afa969',
    500: '#8a8629',
    950: '#000000',
  },
}
SCSS
$custom: #8a8629;
$custom-light: #afa969;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8629",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 41
  },
  "hsl": {
    "h": 57.526,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60574,
    "c": 0.11251,
    "h": 106.9
  },
  "luminance": 0.22614
}

Semantic roles & 50–950 ramp

primary
#8A8629
secondary
#5A5EB5
accent
#50DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A8629

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

Preview Lab → · Contrast checker → · Palette generator →

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