#8A7A25#8A7A25

#8A7A25 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.8% C 0.104 H 98.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8A7A25
RGBrgb(138, 122, 37)
HSLhsl(50, 58%, 34%)
HSVhsv(50, 73%, 54%)
CMYKcmyk(0%, 11.6%, 73.2%, 45.9%)
CIE-LABlab(51.22, -3.80, 46.39)
CIE-LCHlch(51.22, 46.55, 94.68°)
OKLaboklab(57.82% -0.015 0.1031)
OKLCHoklch(57.82% 0.104 98.3)
XYZxyz(17.7755, 19.4568, 4.5691)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7A25 #25358A
analogous
#8A4825 #8A7A25 #688A25
triadic
#8A7A25 #258A7A #7A258A
tetradic
#8A7A25 #258A48 #25358A #8A2568
square
#8A7A25 #258A48 #25358A #8A2568
split-complementary
#8A7A25 #25688A #48258A
monochromatic
#29250B #5A4F18 #8A7A25 #BAA532 #D2BF57

Accessibility & contrast

On white

4.29
#8A7A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8A7A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7A25
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7A25#FFFFFF#000000##000000
##8A7A251.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867718
Deuteranopia (green-blind)
#8B7C2A
Tritanopia (blue-blind)
#957169
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a7a25;
/* rgb */ color: rgb(138, 122, 37);
/* oklch */ color: oklch(57.8% 0.104 98.3);
Tailwind
colors: {
  custom: {
    50: '#afa065',
    500: '#8a7a25',
    950: '#000000',
  },
}
SCSS
$custom: #8a7a25;
$custom-light: #afa065;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7a25",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 37
  },
  "hsl": {
    "h": 50.495,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57819,
    "c": 0.10421,
    "h": 98.3
  },
  "luminance": 0.19456
}

Semantic roles & 50–950 ramp

primary
#8A7A25
secondary
#5464B7
accent
#5FE147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7A25

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

Preview Lab → · Contrast checker → · Palette generator →

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