#8A8426#8A8426

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

Color values

HEX#8A8426
RGBrgb(138, 132, 38)
HSLhsl(56, 57%, 35%)
HSVhsv(56, 72%, 54%)
CMYKcmyk(0%, 4.3%, 72.5%, 45.9%)
CIE-LABlab(54.08, -9.27, 48.80)
CIE-LCHlch(54.08, 49.68, 100.76°)
OKLaboklab(60.09% -0.0304 0.1084)
OKLCHoklch(60.09% 0.113 105.7)
XYZxyz(19.0831, 22.0464, 5.0835)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8426 #262C8A
analogous
#8A5226 #8A8426 #5E8A26
triadic
#8A8426 #268A84 #84268A
tetradic
#8A8426 #268A52 #262C8A #8A265E
square
#8A8426 #268A52 #262C8A #8A265E
split-complementary
#8A8426 #265E8A #52268A
monochromatic
#2A280C #5A5619 #8A8426 #BAB233 #D1CA59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8426#FFFFFF#000000##000000
##8A84261.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)
#907F17
Deuteranopia (green-blind)
#92832C
Tritanopia (blue-blind)
#947B71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a8426;
/* rgb */ color: rgb(138, 132, 38);
/* oklch */ color: oklch(60.1% 0.113 105.7);
Tailwind
colors: {
  custom: {
    50: '#afa767',
    500: '#8a8426',
    950: '#000000',
  },
}
SCSS
$custom: #8a8426;
$custom-light: #afa767;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8426",
  "rgb": {
    "r": 138,
    "g": 132,
    "b": 38
  },
  "hsl": {
    "h": 56.4,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60092,
    "c": 0.11261,
    "h": 105.7
  },
  "luminance": 0.22046
}

Semantic roles & 50–950 ramp

primary
#8A8426
secondary
#565CB6
accent
#51E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A8426

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

Preview Lab → · Contrast checker → · Palette generator →

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