#8A803F#8A803F

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

Color values

HEX#8A803F
RGBrgb(138, 128, 63)
HSLhsl(52, 37%, 39%)
HSVhsv(52, 54%, 54%)
CMYKcmyk(0%, 7.2%, 54.3%, 45.9%)
CIE-LABlab(53.17, -5.29, 36.24)
CIE-LCHlch(53.17, 36.62, 98.30°)
OKLaboklab(59.45% -0.0161 0.0854)
OKLCHoklch(59.45% 0.087 100.7)
XYZxyz(19.0982, 21.2012, 7.7879)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A803F #3F498A
analogous
#8A5B3F #8A803F #6F8A3F
triadic
#8A803F #3F8A80 #803F8A
tetradic
#8A803F #3F8A5B #3F498A #8A3F6F
square
#8A803F #3F8A5B #3F498A #8A3F6F
split-complementary
#8A803F #3F6F8A #5B3F8A
monochromatic
#363219 #60592C #8A803F #B1A555 #C5BB7F

Accessibility & contrast

On white

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

On black

5.24
#8A803F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A803F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A803F#FFFFFF#000000##000000
##8A803F1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D39
Deuteranopia (green-blind)
#8D8142
Tritanopia (blue-blind)
#937871
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a803f;
/* rgb */ color: rgb(138, 128, 63);
/* oklch */ color: oklch(59.4% 0.087 100.7);
Tailwind
colors: {
  custom: {
    50: '#aea476',
    500: '#8a803f',
    950: '#000000',
  },
}
SCSS
$custom: #8a803f;
$custom-light: #aea476;
$custom-dark: #000000;
JSON
{
  "hex": "#8a803f",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 63
  },
  "hsl": {
    "h": 52,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.59447,
    "c": 0.08686,
    "h": 100.7
  },
  "luminance": 0.212
}

Semantic roles & 50–950 ramp

primary
#8A803F
secondary
#767EAF
accent
#6ACD5B
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#100F08
muted
#7F7F7B

Preview Lab

Preview with #8A803F

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

Preview Lab → · Contrast checker → · Palette generator →

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