#8A7522#8A7522

#8A7522 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.7% C 0.102 H 94.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8A7522
RGBrgb(138, 117, 34)
HSLhsl(48, 60%, 34%)
HSVhsv(48, 75%, 54%)
CMYKcmyk(0%, 15.2%, 75.4%, 45.9%)
CIE-LABlab(49.79, -1.13, 46.22)
CIE-LCHlch(49.79, 46.23, 91.40°)
OKLaboklab(56.68% -0.0078 0.1022)
OKLCHoklch(56.68% 0.102 94.4)
XYZxyz(17.1322, 18.2423, 4.1318)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7522 #22378A
analogous
#8A4122 #8A7522 #6B8A22
triadic
#8A7522 #228A75 #75228A
tetradic
#8A7522 #228A41 #22378A #8A226B
square
#8A7522 #228A41 #22378A #8A226B
split-complementary
#8A7522 #226B8A #41228A
monochromatic
#28220A #594B16 #8A7522 #BB9F2E #D4BA52

Accessibility & contrast

On white

4.52
#8A7522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8A7522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7522
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7522#FFFFFF#000000##000000
##8A75221.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#827315
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#956B65
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a7522;
/* rgb */ color: rgb(138, 117, 34);
/* oklch */ color: oklch(56.7% 0.102 94.4);
Tailwind
colors: {
  custom: {
    50: '#b09c63',
    500: '#8a7522',
    950: '#000000',
  },
}
SCSS
$custom: #8a7522;
$custom-light: #b09c63;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7522",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 47.885,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56681,
    "c": 0.10246,
    "h": 94.4
  },
  "luminance": 0.18241
}

Semantic roles & 50–950 ramp

primary
#8A7522
secondary
#5065B8
accent
#64E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7522

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

Preview Lab → · Contrast checker → · Palette generator →

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