#8A8825#8A8825

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

Color values

HEX#8A8825
RGBrgb(138, 136, 37)
HSLhsl(59, 58%, 34%)
HSVhsv(59, 73%, 54%)
CMYKcmyk(0%, 1.4%, 73.2%, 45.9%)
CIE-LABlab(55.22, -11.49, 50.31)
CIE-LCHlch(55.22, 51.60, 102.87°)
OKLaboklab(61% -0.0368 0.1114)
OKLCHoklch(61% 0.117 108.3)
XYZxyz(19.6201, 23.1458, 5.1840)
Luminance0.2314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8825 #25278A
analogous
#8A5625 #8A8825 #5A8A25
triadic
#8A8825 #258A88 #88258A
tetradic
#8A8825 #258A56 #25278A #8A255A
square
#8A8825 #258A56 #25278A #8A255A
split-complementary
#8A8825 #255A8A #56258A
monochromatic
#29290B #5A5818 #8A8825 #BAB832 #D2D057

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8825#FFFFFF#000000##000000
##8A88251.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)
#948213
Deuteranopia (green-blind)
#95862C
Tritanopia (blue-blind)
#947F75
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a8825;
/* rgb */ color: rgb(138, 136, 37);
/* oklch */ color: oklch(61.0% 0.117 108.3);
Tailwind
colors: {
  custom: {
    50: '#afaa67',
    500: '#8a8825',
    950: '#000000',
  },
}
SCSS
$custom: #8a8825;
$custom-light: #afaa67;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8825",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 37
  },
  "hsl": {
    "h": 58.812,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61004,
    "c": 0.11732,
    "h": 108.3
  },
  "luminance": 0.23145
}

Semantic roles & 50–950 ramp

primary
#8A8825
secondary
#5456B7
accent
#4AE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8825

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

Preview Lab → · Contrast checker → · Palette generator →

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