#8D801A#8D801A

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

Color values

HEX#8D801A
RGBrgb(141, 128, 26)
HSLhsl(53, 69%, 33%)
HSVhsv(53, 82%, 55%)
CMYKcmyk(0%, 9.2%, 81.6%, 44.7%)
CIE-LABlab(53.14, -6.23, 52.34)
CIE-LCHlch(53.14, 52.71, 96.79°)
OKLaboklab(59.39% -0.0232 0.1134)
OKLCHoklch(59.39% 0.116 101.6)
XYZxyz(18.8911, 21.1765, 4.0695)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D801A #1A278D
analogous
#8D461A #8D801A #618D1A
triadic
#8D801A #1A8D80 #801A8D
tetradic
#8D801A #1A8D46 #1A278D #8D1A61
square
#8D801A #1A8D46 #1A278D #8D1A61
split-complementary
#8D801A #1A618D #461A8D
monochromatic
#262207 #595110 #8D801A #C1AF24 #DDCB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D801A#FFFFFF#000000##000000
##8D801A1.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)
#8D7C00
Deuteranopia (green-blind)
#918122
Tritanopia (blue-blind)
#98766D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d801a;
/* rgb */ color: rgb(141, 128, 26);
/* oklch */ color: oklch(59.4% 0.116 101.6);
Tailwind
colors: {
  custom: {
    50: '#b2a461',
    500: '#8d801a',
    950: '#000000',
  },
}
SCSS
$custom: #8d801a;
$custom-light: #b2a461;
$custom-dark: #000000;
JSON
{
  "hex": "#8d801a",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 53.217,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59394,
    "c": 0.11577,
    "h": 101.6
  },
  "luminance": 0.21176
}

Semantic roles & 50–950 ramp

primary
#8D801A
secondary
#4553BE
accent
#50EC3C
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8D801A

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

Preview Lab → · Contrast checker → · Palette generator →

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