#8A7B1D#8A7B1D

#8A7B1D is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.0% C 0.110 H 99.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8A7B1D
RGBrgb(138, 123, 29)
HSLhsl(52, 65%, 33%)
HSVhsv(52, 79%, 54%)
CMYKcmyk(0%, 10.9%, 79%, 45.9%)
CIE-LABlab(51.45, -4.74, 49.70)
CIE-LCHlch(51.45, 49.92, 95.44°)
OKLaboklab(57.99% -0.0186 0.1085)
OKLCHoklch(57.99% 0.11 99.7)
XYZxyz(17.7868, 19.6588, 4.0198)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7B1D #1D2C8A
analogous
#8A441D #8A7B1D #628A1D
triadic
#8A7B1D #1D8A7B #7B1D8A
tetradic
#8A7B1D #1D8A44 #1D2C8A #8A1D62
square
#8A7B1D #1D8A44 #1D2C8A #8A1D62
split-complementary
#8A7B1D #1D628A #441D8A
monochromatic
#252108 #574E12 #8A7B1D #BDA828 #D9C549

Accessibility & contrast

On white

4.26
#8A7B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8A7B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7B1D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7B1D#FFFFFF#000000##000000
##8A7B1D1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887708
Deuteranopia (green-blind)
#8C7D24
Tritanopia (blue-blind)
#957169
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a7b1d;
/* rgb */ color: rgb(138, 123, 29);
/* oklch */ color: oklch(58.0% 0.110 99.7);
Tailwind
colors: {
  custom: {
    50: '#b0a061',
    500: '#8a7b1d',
    950: '#000000',
  },
}
SCSS
$custom: #8a7b1d;
$custom-light: #b0a061;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7b1d",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 51.743,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57986,
    "c": 0.1101,
    "h": 99.7
  },
  "luminance": 0.19658
}

Semantic roles & 50–950 ramp

primary
#8A7B1D
secondary
#4858BB
accent
#57E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A7B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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