#8A8625#8A8625

#8A8625 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.5% C 0.115 H 107.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8A8625
RGBrgb(138, 134, 37)
HSLhsl(58, 58%, 34%)
HSVhsv(58, 73%, 54%)
CMYKcmyk(0%, 2.9%, 73.2%, 45.9%)
CIE-LABlab(54.65, -10.41, 49.75)
CIE-LCHlch(54.65, 50.83, 101.82°)
OKLaboklab(60.54% -0.0337 0.1102)
OKLCHoklch(60.54% 0.115 107)
XYZxyz(19.3410, 22.5877, 5.0910)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8625 #25298A
analogous
#8A5425 #8A8625 #5C8A25
triadic
#8A8625 #258A86 #86258A
tetradic
#8A8625 #258A54 #25298A #8A255C
square
#8A8625 #258A54 #25298A #8A255C
split-complementary
#8A8625 #255C8A #54258A
monochromatic
#29280B #5A5718 #8A8625 #BAB532 #D2CD57

Accessibility & contrast

On white

3.81
#8A8625 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8A8625 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8625
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8625#FFFFFF#000000##000000
##8A86251.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928114
Deuteranopia (green-blind)
#94842C
Tritanopia (blue-blind)
#947D73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a8625;
/* rgb */ color: rgb(138, 134, 37);
/* oklch */ color: oklch(60.5% 0.115 107.0);
Tailwind
colors: {
  custom: {
    50: '#afa967',
    500: '#8a8625',
    950: '#000000',
  },
}
SCSS
$custom: #8a8625;
$custom-light: #afa967;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8625",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 37
  },
  "hsl": {
    "h": 57.624,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60543,
    "c": 0.11528,
    "h": 107
  },
  "luminance": 0.22587
}

Semantic roles & 50–950 ramp

primary
#8A8625
secondary
#5458B7
accent
#4DE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A8625

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

Preview Lab → · Contrast checker → · Palette generator →

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