#8D801C#8D801C

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

Color values

HEX#8D801C
RGBrgb(141, 128, 28)
HSLhsl(53, 67%, 33%)
HSVhsv(53, 80%, 55%)
CMYKcmyk(0%, 9.2%, 80.1%, 44.7%)
CIE-LABlab(53.15, -6.16, 51.70)
CIE-LCHlch(53.15, 52.06, 96.79°)
OKLaboklab(59.4% -0.0228 0.1125)
OKLCHoklch(59.4% 0.115 101.5)
XYZxyz(18.9142, 21.1858, 4.1914)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D801C #1C298D
analogous
#8D471C #8D801C #618D1C
triadic
#8D801C #1C8D80 #801C8D
tetradic
#8D801C #1C8D47 #1C298D #8D1C61
square
#8D801C #1C8D47 #1C298D #8D1C61
split-complementary
#8D801C #1C618D #471C8D
monochromatic
#272308 #5A5212 #8D801C #C0AE26 #DBCA49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D801C#FFFFFF#000000##000000
##8D801C1.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)
#8D7C03
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#98766D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d801c;
/* rgb */ color: rgb(141, 128, 28);
/* oklch */ color: oklch(59.4% 0.115 101.5);
Tailwind
colors: {
  custom: {
    50: '#b2a462',
    500: '#8d801c',
    950: '#000000',
  },
}
SCSS
$custom: #8d801c;
$custom-light: #b2a462;
$custom-dark: #000000;
JSON
{
  "hex": "#8d801c",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 53.097,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59405,
    "c": 0.11474,
    "h": 101.5
  },
  "luminance": 0.21185
}

Semantic roles & 50–950 ramp

primary
#8D801C
secondary
#4855BD
accent
#52EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8D801C

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

Preview Lab → · Contrast checker → · Palette generator →

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