#8A8924#8A8924

#8A8924 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.2% C 0.119 H 108.9°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8A8924
RGBrgb(138, 137, 36)
HSLhsl(59, 59%, 34%)
HSVhsv(59, 74%, 54%)
CMYKcmyk(0%, 0.7%, 73.9%, 45.9%)
CIE-LABlab(55.51, -12.08, 50.96)
CIE-LCHlch(55.51, 52.37, 103.34°)
OKLaboklab(61.23% -0.0385 0.1126)
OKLCHoklch(61.23% 0.119 108.9)
XYZxyz(19.7461, 23.4226, 5.1496)
Luminance0.2342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8924 #24258A
analogous
#8A5624 #8A8924 #588A24
triadic
#8A8924 #248A89 #89248A
tetradic
#8A8924 #248A56 #24258A #8A2458
square
#8A8924 #248A56 #24258A #8A2458
split-complementary
#8A8924 #24588A #56248A
monochromatic
#29290B #595917 #8A8924 #BBB931 #D3D256

Accessibility & contrast

On white

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

On black

5.68
#8A8924 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8924
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8924#FFFFFF#000000##000000
##8A89241.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958311
Deuteranopia (green-blind)
#96862C
Tritanopia (blue-blind)
#948075
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a8924;
/* rgb */ color: rgb(138, 137, 36);
/* oklch */ color: oklch(61.2% 0.119 108.9);
Tailwind
colors: {
  custom: {
    50: '#afab67',
    500: '#8a8924',
    950: '#000000',
  },
}
SCSS
$custom: #8a8924;
$custom-light: #afab67;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8924",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 36
  },
  "hsl": {
    "h": 59.412,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61227,
    "c": 0.11899,
    "h": 108.9
  },
  "luminance": 0.23422
}

Semantic roles & 50–950 ramp

primary
#8A8924
secondary
#5354B7
accent
#48E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8924

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

Preview Lab → · Contrast checker → · Palette generator →

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