#8D801F#8D801F

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

Color values

HEX#8D801F
RGBrgb(141, 128, 31)
HSLhsl(53, 64%, 34%)
HSVhsv(53, 78%, 55%)
CMYKcmyk(0%, 9.2%, 78%, 44.7%)
CIE-LABlab(53.17, -6.03, 50.68)
CIE-LCHlch(53.17, 51.03, 96.79°)
OKLaboklab(59.42% -0.0222 0.1109)
OKLCHoklch(59.42% 0.113 101.3)
XYZxyz(18.9519, 21.2009, 4.3900)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D801F #1F2C8D
analogous
#8D491F #8D801F #638D1F
triadic
#8D801F #1F8D80 #801F8D
tetradic
#8D801F #1F8D49 #1F2C8D #8D1F63
square
#8D801F #1F8D49 #1F2C8D #8D1F63
split-complementary
#8D801F #1F638D #491F8D
monochromatic
#292509 #5B5214 #8D801F #BFAE2A #D8C84E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D801F#FFFFFF#000000##000000
##8D801F1.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)
#8D7C0A
Deuteranopia (green-blind)
#908126
Tritanopia (blue-blind)
#98766E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d801f;
/* rgb */ color: rgb(141, 128, 31);
/* oklch */ color: oklch(59.4% 0.113 101.3);
Tailwind
colors: {
  custom: {
    50: '#b2a463',
    500: '#8d801f',
    950: '#000000',
  },
}
SCSS
$custom: #8d801f;
$custom-light: #b2a463;
$custom-dark: #000000;
JSON
{
  "hex": "#8d801f",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 52.909,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59423,
    "c": 0.11309,
    "h": 101.3
  },
  "luminance": 0.212
}

Semantic roles & 50–950 ramp

primary
#8D801F
secondary
#4D5ABB
accent
#54E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D801F

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

Preview Lab → · Contrast checker → · Palette generator →

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