#8A7820#8A7820

#8A7820 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.3% C 0.106 H 97.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8A7820
RGBrgb(138, 120, 32)
HSLhsl(50, 62%, 33%)
HSVhsv(50, 77%, 54%)
CMYKcmyk(0%, 13%, 76.8%, 45.9%)
CIE-LABlab(50.62, -2.92, 47.81)
CIE-LCHlch(50.62, 47.90, 93.50°)
OKLaboklab(57.33% -0.0131 0.1051)
OKLCHoklch(57.33% 0.106 97.1)
XYZxyz(17.4593, 18.9414, 4.1027)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7820 #20328A
analogous
#8A4320 #8A7820 #678A20
triadic
#8A7820 #208A78 #78208A
tetradic
#8A7820 #208A43 #20328A #8A2067
square
#8A7820 #208A43 #20328A #8A2067
split-complementary
#8A7820 #20678A #43208A
monochromatic
#272209 #584D14 #8A7820 #BCA32C #D6BF4E

Accessibility & contrast

On white

4.39
#8A7820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8A7820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7820
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7820#FFFFFF#000000##000000
##8A78201.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#857510
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#956E67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a7820;
/* rgb */ color: rgb(138, 120, 32);
/* oklch */ color: oklch(57.3% 0.106 97.1);
Tailwind
colors: {
  custom: {
    50: '#b09e62',
    500: '#8a7820',
    950: '#000000',
  },
}
SCSS
$custom: #8a7820;
$custom-light: #b09e62;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7820",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 32
  },
  "hsl": {
    "h": 49.811,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57334,
    "c": 0.10594,
    "h": 97.1
  },
  "luminance": 0.1894
}

Semantic roles & 50–950 ramp

primary
#8A7820
secondary
#4D5FB9
accent
#5EE542
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A7820

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

Preview Lab → · Contrast checker → · Palette generator →

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