#8A7E52#8A7E52

#8A7E52 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.3% C 0.063 H 94.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8A7E52
RGBrgb(138, 126, 82)
HSLhsl(47, 25%, 43%)
HSVhsv(47, 41%, 54%)
CMYKcmyk(0%, 8.7%, 40.6%, 45.9%)
CIE-LABlab(52.88, -2.17, 25.62)
CIE-LCHlch(52.88, 25.71, 94.83°)
OKLaboklab(59.31% -0.0051 0.063)
OKLCHoklch(59.31% 0.063 94.7)
XYZxyz(19.4655, 20.9348, 10.9965)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E52 #525E8A
analogous
#8A6252 #8A7E52 #7A8A52
triadic
#8A7E52 #528A7E #7E528A
tetradic
#8A7E52 #528A62 #525E8A #8A527A
square
#8A7E52 #528A62 #525E8A #8A527A
split-complementary
#8A7E52 #527A8A #62528A
monochromatic
#3D3824 #645B3B #8A7E52 #AA9D6F #C1B796

Accessibility & contrast

On white

4.05
#8A7E52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8A7E52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E52
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E52#FFFFFF#000000##000000
##8A7E521.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4F
Deuteranopia (green-blind)
#8A8054
Tritanopia (blue-blind)
#927873
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a7e52;
/* rgb */ color: rgb(138, 126, 82);
/* oklch */ color: oklch(59.3% 0.063 94.7);
Tailwind
colors: {
  custom: {
    50: '#ada383',
    500: '#8a7e52',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e52;
$custom-light: #ada383;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e52",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 82
  },
  "hsl": {
    "h": 47.143,
    "s": 25.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.59305,
    "c": 0.06317,
    "h": 94.7
  },
  "luminance": 0.20934
}

Semantic roles & 50–950 ramp

primary
#8A7E52
secondary
#8A92AE
accent
#7AC266
background
#FAFAF8
surface
#F4F3EF
border
#CECDCA
text
#100F0A
muted
#7F7F7C

Preview Lab

Preview with #8A7E52

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

Preview Lab → · Contrast checker → · Palette generator →

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