#8D803B#8D803B

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

Color values

HEX#8D803B
RGBrgb(141, 128, 59)
HSLhsl(50, 41%, 39%)
HSVhsv(50, 58%, 55%)
CMYKcmyk(0%, 9.2%, 58.2%, 44.7%)
CIE-LABlab(53.40, -4.29, 38.62)
CIE-LCHlch(53.40, 38.86, 96.34°)
OKLaboklab(59.69% -0.0139 0.09)
OKLCHoklch(59.69% 0.091 98.8)
XYZxyz(19.4938, 21.4176, 7.2440)
Luminance0.2142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D803B #3B488D
analogous
#8D573B #8D803B #718D3B
triadic
#8D803B #3B8D80 #803B8D
tetradic
#8D803B #3B8D57 #3B488D #8D3B71
square
#8D803B #3B8D57 #3B488D #8D3B71
split-complementary
#8D803B #3B718D #573B8D
monochromatic
#373217 #625929 #8D803B #B6A550 #C8BB7B

Accessibility & contrast

On white

3.97
#8D803B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D803B#FFFFFF#000000##000000
##8D803B1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D34
Deuteranopia (green-blind)
#8F823E
Tritanopia (blue-blind)
#977871
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d803b;
/* rgb */ color: rgb(141, 128, 59);
/* oklch */ color: oklch(59.7% 0.091 98.8);
Tailwind
colors: {
  custom: {
    50: '#b0a473',
    500: '#8d803b',
    950: '#000000',
  },
}
SCSS
$custom: #8d803b;
$custom-light: #b0a473;
$custom-dark: #000000;
JSON
{
  "hex": "#8d803b",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 59
  },
  "hsl": {
    "h": 50.488,
    "s": 41,
    "l": 39.216
  },
  "oklch": {
    "l": 0.59685,
    "c": 0.09107,
    "h": 98.8
  },
  "luminance": 0.21417
}

Semantic roles & 50–950 ramp

primary
#8D803B
secondary
#737DB1
accent
#6AD157
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8D803B

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

Preview Lab → · Contrast checker → · Palette generator →

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