#8A8624#8A8624

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

Color values

HEX#8A8624
RGBrgb(138, 134, 36)
HSLhsl(58, 59%, 34%)
HSVhsv(58, 74%, 54%)
CMYKcmyk(0%, 2.9%, 73.9%, 45.9%)
CIE-LABlab(54.64, -10.46, 50.13)
CIE-LCHlch(54.64, 51.21, 101.79°)
OKLaboklab(60.54% -0.034 0.1108)
OKLCHoklch(60.54% 0.116 107)
XYZxyz(19.3255, 22.5815, 5.0094)
Luminance0.2258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8624 #24288A
analogous
#8A5324 #8A8624 #5B8A24
triadic
#8A8624 #248A86 #86248A
tetradic
#8A8624 #248A53 #24288A #8A245B
square
#8A8624 #248A53 #24288A #8A245B
split-complementary
#8A8624 #245B8A #53248A
monochromatic
#29280B #595717 #8A8624 #BBB531 #D3CE56

Accessibility & contrast

On white

3.81
#8A8624 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8624#FFFFFF#000000##000000
##8A86241.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928112
Deuteranopia (green-blind)
#94842B
Tritanopia (blue-blind)
#947D73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a8624;
/* rgb */ color: rgb(138, 134, 36);
/* oklch */ color: oklch(60.5% 0.116 107.0);
Tailwind
colors: {
  custom: {
    50: '#afa966',
    500: '#8a8624',
    950: '#000000',
  },
}
SCSS
$custom: #8a8624;
$custom-light: #afa966;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8624",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 36
  },
  "hsl": {
    "h": 57.647,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60536,
    "c": 0.11592,
    "h": 107
  },
  "luminance": 0.22581
}

Semantic roles & 50–950 ramp

primary
#8A8624
secondary
#5357B7
accent
#4CE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A8624

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

Preview Lab → · Contrast checker → · Palette generator →

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