#8A8224#8A8224

#8A8224 is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.6% C 0.112 H 104.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8A8224
RGBrgb(138, 130, 36)
HSLhsl(55, 59%, 34%)
HSVhsv(55, 74%, 54%)
CMYKcmyk(0%, 5.8%, 73.9%, 45.9%)
CIE-LABlab(53.49, -8.28, 49.02)
CIE-LCHlch(53.49, 49.71, 99.59°)
OKLaboklab(59.62% -0.0278 0.1085)
OKLCHoklch(59.62% 0.112 104.4)
XYZxyz(18.7831, 21.4967, 4.8286)
Luminance0.2150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8224 #242C8A
analogous
#8A4F24 #8A8224 #5F8A24
triadic
#8A8224 #248A82 #82248A
tetradic
#8A8224 #248A4F #242C8A #8A245F
square
#8A8224 #248A4F #242C8A #8A245F
split-complementary
#8A8224 #245F8A #4F248A
monochromatic
#29270B #595417 #8A8224 #BBB031 #D3C956

Accessibility & contrast

On white

3.96
#8A8224 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#8A8224 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8224
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8224#FFFFFF#000000##000000
##8A82241.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D14
Deuteranopia (green-blind)
#91822B
Tritanopia (blue-blind)
#957970
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a8224;
/* rgb */ color: rgb(138, 130, 36);
/* oklch */ color: oklch(59.6% 0.112 104.4);
Tailwind
colors: {
  custom: {
    50: '#afa666',
    500: '#8a8224',
    950: '#000000',
  },
}
SCSS
$custom: #8a8224;
$custom-light: #afa666;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8224",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 36
  },
  "hsl": {
    "h": 55.294,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5962,
    "c": 0.112,
    "h": 104.4
  },
  "luminance": 0.21496
}

Semantic roles & 50–950 ramp

primary
#8A8224
secondary
#535BB7
accent
#52E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A8224

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

Preview Lab → · Contrast checker → · Palette generator →

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