#8A8824#8A8824

#8A8824 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.0% C 0.118 H 108.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8A8824
RGBrgb(138, 136, 36)
HSLhsl(59, 59%, 34%)
HSVhsv(59, 74%, 54%)
CMYKcmyk(0%, 1.4%, 73.9%, 45.9%)
CIE-LABlab(55.22, -11.54, 50.68)
CIE-LCHlch(55.22, 51.98, 102.83°)
OKLaboklab(61% -0.037 0.112)
OKLCHoklch(61% 0.118 108.3)
XYZxyz(19.6046, 23.1396, 5.1024)
Luminance0.2314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8824 #24268A
analogous
#8A5524 #8A8824 #598A24
triadic
#8A8824 #248A88 #88248A
tetradic
#8A8824 #248A55 #24268A #8A2459
square
#8A8824 #248A55 #24268A #8A2459
split-complementary
#8A8824 #24598A #55248A
monochromatic
#29280B #595817 #8A8824 #BBB831 #D3D056

Accessibility & contrast

On white

3.73
#8A8824 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8A8824 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8824
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8824#FFFFFF#000000##000000
##8A88241.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948211
Deuteranopia (green-blind)
#95862B
Tritanopia (blue-blind)
#947F75
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a8824;
/* rgb */ color: rgb(138, 136, 36);
/* oklch */ color: oklch(61.0% 0.118 108.3);
Tailwind
colors: {
  custom: {
    50: '#afaa66',
    500: '#8a8824',
    950: '#000000',
  },
}
SCSS
$custom: #8a8824;
$custom-light: #afaa66;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8824",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 36
  },
  "hsl": {
    "h": 58.824,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60997,
    "c": 0.11795,
    "h": 108.3
  },
  "luminance": 0.23139
}

Semantic roles & 50–950 ramp

primary
#8A8824
secondary
#5355B7
accent
#49E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8824

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

Preview Lab → · Contrast checker → · Palette generator →

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