#8A803B#8A803B

#8A803B is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.4% C 0.091 H 101.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8A803B
RGBrgb(138, 128, 59)
HSLhsl(52, 40%, 39%)
HSVhsv(52, 57%, 54%)
CMYKcmyk(0%, 7.2%, 57.2%, 45.9%)
CIE-LABlab(53.12, -5.64, 38.22)
CIE-LCHlch(53.12, 38.64, 98.39°)
OKLaboklab(59.39% -0.0176 0.0892)
OKLCHoklch(59.39% 0.091 101.2)
XYZxyz(18.9905, 21.1581, 7.2204)
Luminance0.2116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A803B #3B458A
analogous
#8A583B #8A803B #6C8A3B
triadic
#8A803B #3B8A80 #803B8A
tetradic
#8A803B #3B8A58 #3B458A #8A3B6C
square
#8A803B #3B8A58 #3B458A #8A3B6C
split-complementary
#8A803B #3B6C8A #583B8A
monochromatic
#343016 #5F5829 #8A803B #B4A74F #C6BC79

Accessibility & contrast

On white

4.01
#8A803B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8A803B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A803B
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A803B#FFFFFF#000000##000000
##8A803B1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C34
Deuteranopia (green-blind)
#8E813E
Tritanopia (blue-blind)
#947871
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a803b;
/* rgb */ color: rgb(138, 128, 59);
/* oklch */ color: oklch(59.4% 0.091 101.2);
Tailwind
colors: {
  custom: {
    50: '#aea473',
    500: '#8a803b',
    950: '#000000',
  },
}
SCSS
$custom: #8a803b;
$custom-light: #aea473;
$custom-dark: #000000;
JSON
{
  "hex": "#8a803b",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 59
  },
  "hsl": {
    "h": 52.405,
    "s": 40.102,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59394,
    "c": 0.09093,
    "h": 101.2
  },
  "luminance": 0.21157
}

Semantic roles & 50–950 ramp

primary
#8A803B
secondary
#7179AF
accent
#67D058
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A803B

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

Preview Lab → · Contrast checker → · Palette generator →

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