#8A803E#8A803E

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

Color values

HEX#8A803E
RGBrgb(138, 128, 62)
HSLhsl(52, 38%, 39%)
HSVhsv(52, 55%, 54%)
CMYKcmyk(0%, 7.2%, 55.1%, 45.9%)
CIE-LABlab(53.16, -5.38, 36.74)
CIE-LCHlch(53.16, 37.13, 98.32°)
OKLaboklab(59.43% -0.0165 0.0863)
OKLCHoklch(59.43% 0.088 100.8)
XYZxyz(19.0705, 21.1901, 7.6420)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A803E #3E488A
analogous
#8A5A3E #8A803E #6E8A3E
triadic
#8A803E #3E8A80 #803E8A
tetradic
#8A803E #3E8A5A #3E488A #8A3E6E
square
#8A803E #3E8A5A #3E488A #8A3E6E
split-complementary
#8A803E #3E6E8A #5A3E8A
monochromatic
#363218 #60592B #8A803E #B2A553 #C5BB7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A803E#FFFFFF#000000##000000
##8A803E1.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)
#8A7D38
Deuteranopia (green-blind)
#8D8141
Tritanopia (blue-blind)
#937871
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a803e;
/* rgb */ color: rgb(138, 128, 62);
/* oklch */ color: oklch(59.4% 0.088 100.8);
Tailwind
colors: {
  custom: {
    50: '#aea475',
    500: '#8a803e',
    950: '#000000',
  },
}
SCSS
$custom: #8a803e;
$custom-light: #aea475;
$custom-dark: #000000;
JSON
{
  "hex": "#8a803e",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 62
  },
  "hsl": {
    "h": 52.105,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.59433,
    "c": 0.08789,
    "h": 100.8
  },
  "luminance": 0.21189
}

Semantic roles & 50–950 ramp

primary
#8A803E
secondary
#757DAF
accent
#69CE5A
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8A803E

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

Preview Lab → · Contrast checker → · Palette generator →

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