#8A801D#8A801D

#8A801D is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.1% C 0.114 H 103.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8A801D
RGBrgb(138, 128, 29)
HSLhsl(54, 65%, 33%)
HSVhsv(54, 79%, 54%)
CMYKcmyk(0%, 7.2%, 79%, 45.9%)
CIE-LABlab(52.87, -7.51, 51.00)
CIE-LCHlch(52.87, 51.55, 98.37°)
OKLaboklab(59.12% -0.0264 0.1113)
OKLCHoklch(59.12% 0.114 103.3)
XYZxyz(18.4230, 20.9311, 4.2318)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A801D #1D278A
analogous
#8A491D #8A801D #5E8A1D
triadic
#8A801D #1D8A80 #801D8A
tetradic
#8A801D #1D8A49 #1D278A #8A1D5E
square
#8A801D #1D8A49 #1D278A #8A1D5E
split-complementary
#8A801D #1D5E8A #491D8A
monochromatic
#252208 #575112 #8A801D #BDAF28 #D9CB49

Accessibility & contrast

On white

4.05
#8A801D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8A801D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A801D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A801D#FFFFFF#000000##000000
##8A801D1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C05
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#95766D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a801d;
/* rgb */ color: rgb(138, 128, 29);
/* oklch */ color: oklch(59.1% 0.114 103.3);
Tailwind
colors: {
  custom: {
    50: '#b0a462',
    500: '#8a801d',
    950: '#000000',
  },
}
SCSS
$custom: #8a801d;
$custom-light: #b0a462;
$custom-dark: #000000;
JSON
{
  "hex": "#8a801d",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 29
  },
  "hsl": {
    "h": 54.495,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59118,
    "c": 0.11439,
    "h": 103.3
  },
  "luminance": 0.2093
}

Semantic roles & 50–950 ramp

primary
#8A801D
secondary
#4853BB
accent
#4FE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8A801D

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

Preview Lab → · Contrast checker → · Palette generator →

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