#8D803F#8D803F

#8D803F is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.7% C 0.087 H 98.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8D803F
RGBrgb(141, 128, 63)
HSLhsl(50, 38%, 40%)
HSVhsv(50, 55%, 55%)
CMYKcmyk(0%, 9.2%, 55.3%, 44.7%)
CIE-LABlab(53.45, -3.95, 36.64)
CIE-LCHlch(53.45, 36.85, 96.15°)
OKLaboklab(59.74% -0.0124 0.0862)
OKLCHoklch(59.74% 0.087 98.2)
XYZxyz(19.6016, 21.4607, 7.8115)
Luminance0.2146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D803F #3F4C8D
analogous
#8D593F #8D803F #738D3F
triadic
#8D803F #3F8D80 #803F8D
tetradic
#8D803F #3F8D59 #3F4C8D #8D3F73
square
#8D803F #3F8D59 #3F4C8D #8D3F73
split-complementary
#8D803F #3F738D #593F8D
monochromatic
#383319 #635A2C #8D803F #B3A456 #C6BB80

Accessibility & contrast

On white

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

On black

5.29
#8D803F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D803F
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D803F#FFFFFF#000000##000000
##8D803F1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d803f;
/* rgb */ color: rgb(141, 128, 63);
/* oklch */ color: oklch(59.7% 0.087 98.2);
Tailwind
colors: {
  custom: {
    50: '#b0a476',
    500: '#8d803f',
    950: '#000000',
  },
}
SCSS
$custom: #8d803f;
$custom-light: #b0a476;
$custom-dark: #000000;
JSON
{
  "hex": "#8d803f",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 63
  },
  "hsl": {
    "h": 50,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.59737,
    "c": 0.08705,
    "h": 98.2
  },
  "luminance": 0.2146
}

Semantic roles & 50–950 ramp

primary
#8D803F
secondary
#7781B1
accent
#6DCE5A
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #8D803F

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

Preview Lab → · Contrast checker → · Palette generator →

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