#8A8424#8A8424

#8A8424 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.1% C 0.114 H 105.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8A8424
RGBrgb(138, 132, 36)
HSLhsl(56, 59%, 34%)
HSVhsv(56, 74%, 54%)
CMYKcmyk(0%, 4.3%, 73.9%, 45.9%)
CIE-LABlab(54.06, -9.38, 49.57)
CIE-LCHlch(54.06, 50.45, 100.71°)
OKLaboklab(60.08% -0.0309 0.1097)
OKLCHoklch(60.08% 0.114 105.7)
XYZxyz(19.0517, 22.0339, 4.9181)
Luminance0.2203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8424 #242A8A
analogous
#8A5124 #8A8424 #5D8A24
triadic
#8A8424 #248A84 #84248A
tetradic
#8A8424 #248A51 #242A8A #8A245D
square
#8A8424 #248A51 #242A8A #8A245D
split-complementary
#8A8424 #245D8A #51248A
monochromatic
#29270B #595617 #8A8424 #BBB231 #D3CB56

Accessibility & contrast

On white

3.88
#8A8424 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8A8424 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8424
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8424#FFFFFF#000000##000000
##8A84241.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F13
Deuteranopia (green-blind)
#92832B
Tritanopia (blue-blind)
#947B71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a8424;
/* rgb */ color: rgb(138, 132, 36);
/* oklch */ color: oklch(60.1% 0.114 105.7);
Tailwind
colors: {
  custom: {
    50: '#afa766',
    500: '#8a8424',
    950: '#000000',
  },
}
SCSS
$custom: #8a8424;
$custom-light: #afa766;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8424",
  "rgb": {
    "r": 138,
    "g": 132,
    "b": 36
  },
  "hsl": {
    "h": 56.471,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60077,
    "c": 0.11394,
    "h": 105.7
  },
  "luminance": 0.22033
}

Semantic roles & 50–950 ramp

primary
#8A8424
secondary
#5359B7
accent
#4FE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A8424

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

Preview Lab → · Contrast checker → · Palette generator →

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