#8A7D52#8A7D52

#8A7D52 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.1% C 0.062 H 93.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8A7D52
RGBrgb(138, 125, 82)
HSLhsl(46, 25%, 43%)
HSVhsv(46, 41%, 54%)
CMYKcmyk(0%, 9.4%, 40.6%, 45.9%)
CIE-LABlab(52.60, -1.60, 25.25)
CIE-LCHlch(52.60, 25.30, 93.63°)
OKLaboklab(59.08% -0.0035 0.0621)
OKLCHoklch(59.08% 0.062 93.2)
XYZxyz(19.3383, 20.6804, 10.9541)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7D52 #525F8A
analogous
#8A6152 #8A7D52 #7B8A52
triadic
#8A7D52 #528A7D #7D528A
tetradic
#8A7D52 #528A61 #525F8A #8A527B
square
#8A7D52 #528A61 #525F8A #8A527B
split-complementary
#8A7D52 #527B8A #61528A
monochromatic
#3D3724 #645A3B #8A7D52 #AA9C6F #C1B796

Accessibility & contrast

On white

4.09
#8A7D52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#8A7D52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7D52
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7D52#FFFFFF#000000##000000
##8A7D521.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867B4F
Deuteranopia (green-blind)
#897F53
Tritanopia (blue-blind)
#927772
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a7d52;
/* rgb */ color: rgb(138, 125, 82);
/* oklch */ color: oklch(59.1% 0.062 93.2);
Tailwind
colors: {
  custom: {
    50: '#ada283',
    500: '#8a7d52',
    950: '#000000',
  },
}
SCSS
$custom: #8a7d52;
$custom-light: #ada283;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7d52",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 82
  },
  "hsl": {
    "h": 46.071,
    "s": 25.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.59084,
    "c": 0.06222,
    "h": 93.2
  },
  "luminance": 0.2068
}

Semantic roles & 50–950 ramp

primary
#8A7D52
secondary
#8A92AE
accent
#7BC266
background
#FAF9F8
surface
#F4F2EF
border
#CECCCA
text
#100F0A
muted
#7F7E7C

Preview Lab

Preview with #8A7D52

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

Preview Lab → · Contrast checker → · Palette generator →

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