#8A801E#8A801E

#8A801E 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#8A801E
RGBrgb(138, 128, 30)
HSLhsl(54, 64%, 33%)
HSVhsv(54, 78%, 54%)
CMYKcmyk(0%, 7.2%, 78.3%, 45.9%)
CIE-LABlab(52.88, -7.46, 50.66)
CIE-LCHlch(52.88, 51.21, 98.38°)
OKLaboklab(59.12% -0.0261 0.1108)
OKLCHoklch(59.12% 0.114 103.3)
XYZxyz(18.4356, 20.9361, 4.2980)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A801E #1E288A
analogous
#8A4A1E #8A801E #5E8A1E
triadic
#8A801E #1E8A80 #801E8A
tetradic
#8A801E #1E8A4A #1E288A #8A1E5E
square
#8A801E #1E8A4A #1E288A #8A1E5E
split-complementary
#8A801E #1E5E8A #4A1E8A
monochromatic
#252308 #585113 #8A801E #BCAF29 #D8CB4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A801E#FFFFFF#000000##000000
##8A801E1.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)
#8C7C08
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#95776D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a801e;
/* rgb */ color: rgb(138, 128, 30);
/* oklch */ color: oklch(59.1% 0.114 103.3);
Tailwind
colors: {
  custom: {
    50: '#b0a462',
    500: '#8a801e',
    950: '#000000',
  },
}
SCSS
$custom: #8a801e;
$custom-light: #b0a462;
$custom-dark: #000000;
JSON
{
  "hex": "#8a801e",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 30
  },
  "hsl": {
    "h": 54.444,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59124,
    "c": 0.11382,
    "h": 103.3
  },
  "luminance": 0.20935
}

Semantic roles & 50–950 ramp

primary
#8A801E
secondary
#4A54BA
accent
#50E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A801E

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

Preview Lab → · Contrast checker → · Palette generator →

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