#8A811D#8A811D

#8A811D is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.3% C 0.115 H 104.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8A811D
RGBrgb(138, 129, 29)
HSLhsl(55, 65%, 33%)
HSVhsv(55, 79%, 54%)
CMYKcmyk(0%, 6.5%, 79%, 45.9%)
CIE-LABlab(53.16, -8.06, 51.26)
CIE-LCHlch(53.16, 51.89, 98.93°)
OKLaboklab(59.35% -0.0279 0.1119)
OKLCHoklch(59.35% 0.115 104)
XYZxyz(18.5541, 21.1933, 4.2755)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A811D #1D268A
analogous
#8A4B1D #8A811D #5C8A1D
triadic
#8A811D #1D8A81 #811D8A
tetradic
#8A811D #1D8A4B #1D268A #8A1D5C
square
#8A811D #1D8A4B #1D268A #8A1D5C
split-complementary
#8A811D #1D5C8A #4B1D8A
monochromatic
#252208 #575212 #8A811D #BDB028 #D9CD49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A811D#FFFFFF#000000##000000
##8A811D1.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)
#8D7C05
Deuteranopia (green-blind)
#908125
Tritanopia (blue-blind)
#95786E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a811d;
/* rgb */ color: rgb(138, 129, 29);
/* oklch */ color: oklch(59.3% 0.115 104.0);
Tailwind
colors: {
  custom: {
    50: '#b0a562',
    500: '#8a811d',
    950: '#000000',
  },
}
SCSS
$custom: #8a811d;
$custom-light: #b0a562;
$custom-dark: #000000;
JSON
{
  "hex": "#8a811d",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 55.046,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59346,
    "c": 0.1153,
    "h": 104
  },
  "luminance": 0.21192
}

Semantic roles & 50–950 ramp

primary
#8A811D
secondary
#4851BB
accent
#4DE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8A811D

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

Preview Lab → · Contrast checker → · Palette generator →

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