#8D803A#8D803A

#8D803A is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.7% C 0.092 H 98.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8D803A
RGBrgb(141, 128, 58)
HSLhsl(51, 42%, 39%)
HSVhsv(51, 59%, 55%)
CMYKcmyk(0%, 9.2%, 58.9%, 44.7%)
CIE-LABlab(53.39, -4.37, 39.11)
CIE-LCHlch(53.39, 39.35, 96.38°)
OKLaboklab(59.67% -0.0143 0.0909)
OKLCHoklch(59.67% 0.092 98.9)
XYZxyz(19.4681, 21.4074, 7.1087)
Luminance0.2141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D803A #3A478D
analogous
#8D573A #8D803A #718D3A
triadic
#8D803A #3A8D80 #803A8D
tetradic
#8D803A #3A8D57 #3A478D #8D3A71
square
#8D803A #3A8D57 #3A478D #8D3A71
split-complementary
#8D803A #3A718D #573A8D
monochromatic
#363116 #625928 #8D803A #B6A64E #C8BC79

Accessibility & contrast

On white

3.98
#8D803A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8D803A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D803A
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D803A#FFFFFF#000000##000000
##8D803A1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D33
Deuteranopia (green-blind)
#8F823D
Tritanopia (blue-blind)
#977870
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d803a;
/* rgb */ color: rgb(141, 128, 58);
/* oklch */ color: oklch(59.7% 0.092 98.9);
Tailwind
colors: {
  custom: {
    50: '#b1a473',
    500: '#8d803a',
    950: '#000000',
  },
}
SCSS
$custom: #8d803a;
$custom-light: #b1a473;
$custom-dark: #000000;
JSON
{
  "hex": "#8d803a",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 58
  },
  "hsl": {
    "h": 50.602,
    "s": 41.709,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59672,
    "c": 0.09204,
    "h": 98.9
  },
  "luminance": 0.21407
}

Semantic roles & 50–950 ramp

primary
#8D803A
secondary
#717BB1
accent
#6AD256
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8D803A

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

Preview Lab → · Contrast checker → · Palette generator →

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