#8A8225#8A8225

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

Color values

HEX#8A8225
RGBrgb(138, 130, 37)
HSLhsl(55, 58%, 34%)
HSVhsv(55, 73%, 54%)
CMYKcmyk(0%, 5.8%, 73.2%, 45.9%)
CIE-LABlab(53.50, -8.23, 48.63)
CIE-LCHlch(53.50, 49.32, 99.61°)
OKLaboklab(59.63% -0.0276 0.1079)
OKLCHoklch(59.63% 0.111 104.3)
XYZxyz(18.7986, 21.5028, 4.9102)
Luminance0.2150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8225 #252D8A
analogous
#8A5025 #8A8225 #5F8A25
triadic
#8A8225 #258A82 #82258A
tetradic
#8A8225 #258A50 #252D8A #8A255F
square
#8A8225 #258A50 #252D8A #8A255F
split-complementary
#8A8225 #255F8A #50258A
monochromatic
#29270B #5A5518 #8A8225 #BAAF32 #D2C857

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8225#FFFFFF#000000##000000
##8A82251.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)
#8E7D15
Deuteranopia (green-blind)
#91822B
Tritanopia (blue-blind)
#957970
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a8225;
/* rgb */ color: rgb(138, 130, 37);
/* oklch */ color: oklch(59.6% 0.111 104.3);
Tailwind
colors: {
  custom: {
    50: '#afa666',
    500: '#8a8225',
    950: '#000000',
  },
}
SCSS
$custom: #8a8225;
$custom-light: #afa666;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8225",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 37
  },
  "hsl": {
    "h": 55.248,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59628,
    "c": 0.11133,
    "h": 104.3
  },
  "luminance": 0.21502
}

Semantic roles & 50–950 ramp

primary
#8A8225
secondary
#545CB7
accent
#53E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A8225

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

Preview Lab → · Contrast checker → · Palette generator →

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