#8A8925#8A8925

#8A8925 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.2% C 0.118 H 108.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8A8925
RGBrgb(138, 137, 37)
HSLhsl(59, 58%, 34%)
HSVhsv(59, 73%, 54%)
CMYKcmyk(0%, 0.7%, 73.2%, 45.9%)
CIE-LABlab(55.51, -12.03, 50.59)
CIE-LCHlch(55.51, 52.00, 103.38°)
OKLaboklab(61.23% -0.0383 0.112)
OKLCHoklch(61.23% 0.118 108.9)
XYZxyz(19.7615, 23.4288, 5.2311)
Luminance0.2343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8925 #25268A
analogous
#8A5725 #8A8925 #598A25
triadic
#8A8925 #258A89 #89258A
tetradic
#8A8925 #258A57 #25268A #8A2559
square
#8A8925 #258A57 #25268A #8A2559
split-complementary
#8A8925 #25598A #57258A
monochromatic
#29290B #5A5918 #8A8925 #BAB932 #D2D157

Accessibility & contrast

On white

3.69
#8A8925 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8A8925 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8925
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8925#FFFFFF#000000##000000
##8A89251.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948313
Deuteranopia (green-blind)
#96862C
Tritanopia (blue-blind)
#948076
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a8925;
/* rgb */ color: rgb(138, 137, 37);
/* oklch */ color: oklch(61.2% 0.118 108.9);
Tailwind
colors: {
  custom: {
    50: '#afab67',
    500: '#8a8925',
    950: '#000000',
  },
}
SCSS
$custom: #8a8925;
$custom-light: #afab67;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8925",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 37
  },
  "hsl": {
    "h": 59.406,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61234,
    "c": 0.11835,
    "h": 108.9
  },
  "luminance": 0.23428
}

Semantic roles & 50–950 ramp

primary
#8A8925
secondary
#5455B7
accent
#48E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8925

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

Preview Lab → · Contrast checker → · Palette generator →

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