#8D801B#8D801B

#8D801B 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#8D801B
RGBrgb(141, 128, 27)
HSLhsl(53, 68%, 33%)
HSVhsv(53, 81%, 55%)
CMYKcmyk(0%, 9.2%, 80.9%, 44.7%)
CIE-LABlab(53.15, -6.20, 52.02)
CIE-LCHlch(53.15, 52.39, 96.79°)
OKLaboklab(59.4% -0.023 0.113)
OKLCHoklch(59.4% 0.115 101.5)
XYZxyz(18.9024, 21.1811, 4.1294)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D801B #1B288D
analogous
#8D471B #8D801B #618D1B
triadic
#8D801B #1B8D80 #801B8D
tetradic
#8D801B #1B8D47 #1B288D #8D1B61
square
#8D801B #1B8D47 #1B288D #8D1B61
split-complementary
#8D801B #1B618D #471B8D
monochromatic
#262307 #5A5111 #8D801B #C0AF25 #DCCB47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D801B#FFFFFF#000000##000000
##8D801B1.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)
#918123
Tritanopia (blue-blind)
#98766D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d801b;
/* rgb */ color: rgb(141, 128, 27);
/* oklch */ color: oklch(59.4% 0.115 101.5);
Tailwind
colors: {
  custom: {
    50: '#b2a461',
    500: '#8d801b',
    950: '#000000',
  },
}
SCSS
$custom: #8d801b;
$custom-light: #b2a461;
$custom-dark: #000000;
JSON
{
  "hex": "#8d801b",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 27
  },
  "hsl": {
    "h": 53.158,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59399,
    "c": 0.11527,
    "h": 101.5
  },
  "luminance": 0.2118
}

Semantic roles & 50–950 ramp

primary
#8D801B
secondary
#4654BD
accent
#51EB3D
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8D801B

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

Preview Lab → · Contrast checker → · Palette generator →

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