#8A801F#8A801F

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

Color values

HEX#8A801F
RGBrgb(138, 128, 31)
HSLhsl(54, 63%, 33%)
HSVhsv(54, 78%, 54%)
CMYKcmyk(0%, 7.2%, 77.5%, 45.9%)
CIE-LABlab(52.89, -7.42, 50.31)
CIE-LCHlch(52.89, 50.85, 98.39°)
OKLaboklab(59.13% -0.0259 0.1102)
OKLCHoklch(59.13% 0.113 103.2)
XYZxyz(18.4486, 20.9413, 4.3664)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A801F #1F298A
analogous
#8A4B1F #8A801F #5E8A1F
triadic
#8A801F #1F8A80 #801F8A
tetradic
#8A801F #1F8A4B #1F298A #8A1F5E
square
#8A801F #1F8A4B #1F298A #8A1F5E
split-complementary
#8A801F #1F5E8A #4B1F8A
monochromatic
#262309 #585214 #8A801F #BCAE2A #D7CA4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A801F#FFFFFF#000000##000000
##8A801F1.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)
#8C7C0A
Deuteranopia (green-blind)
#8F8026
Tritanopia (blue-blind)
#95776E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a801f;
/* rgb */ color: rgb(138, 128, 31);
/* oklch */ color: oklch(59.1% 0.113 103.2);
Tailwind
colors: {
  custom: {
    50: '#b0a463',
    500: '#8a801f',
    950: '#000000',
  },
}
SCSS
$custom: #8a801f;
$custom-light: #b0a463;
$custom-dark: #000000;
JSON
{
  "hex": "#8a801f",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 54.393,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5913,
    "c": 0.11325,
    "h": 103.2
  },
  "luminance": 0.20941
}

Semantic roles & 50–950 ramp

primary
#8A801F
secondary
#4B55BA
accent
#51E641
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A801F

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

Preview Lab → · Contrast checker → · Palette generator →

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