#8A801B#8A801B

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

Color values

HEX#8A801B
RGBrgb(138, 128, 27)
HSLhsl(55, 67%, 32%)
HSVhsv(55, 80%, 54%)
CMYKcmyk(0%, 7.2%, 80.4%, 45.9%)
CIE-LABlab(52.86, -7.59, 51.66)
CIE-LCHlch(52.86, 52.22, 98.35°)
OKLaboklab(59.11% -0.0268 0.1123)
OKLCHoklch(59.11% 0.115 103.4)
XYZxyz(18.3991, 20.9215, 4.1058)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A801B #1B258A
analogous
#8A491B #8A801B #5C8A1B
triadic
#8A801B #1B8A80 #801B8A
tetradic
#8A801B #1B8A49 #1B258A #8A1B5C
square
#8A801B #1B8A49 #1B258A #8A1B5C
split-complementary
#8A801B #1B5C8A #491B8A
monochromatic
#242107 #575111 #8A801B #BDAF25 #DBCD45

Accessibility & contrast

On white

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

On black

5.18
#8A801B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A801B
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A801B#FFFFFF#000000##000000
##8A801B1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a801b;
/* rgb */ color: rgb(138, 128, 27);
/* oklch */ color: oklch(59.1% 0.115 103.4);
Tailwind
colors: {
  custom: {
    50: '#b0a461',
    500: '#8a801b',
    950: '#000000',
  },
}
SCSS
$custom: #8a801b;
$custom-light: #b0a461;
$custom-dark: #000000;
JSON
{
  "hex": "#8a801b",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 27
  },
  "hsl": {
    "h": 54.595,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59106,
    "c": 0.11547,
    "h": 103.4
  },
  "luminance": 0.20921
}

Semantic roles & 50–950 ramp

primary
#8A801B
secondary
#4550BC
accent
#4DEA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8A801B

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

Preview Lab → · Contrast checker → · Palette generator →

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