#8A7A1D#8A7A1D

#8A7A1D is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.8% C 0.109 H 98.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8A7A1D
RGBrgb(138, 122, 29)
HSLhsl(51, 65%, 33%)
HSVhsv(51, 79%, 54%)
CMYKcmyk(0%, 11.6%, 79%, 45.9%)
CIE-LABlab(51.17, -4.18, 49.44)
CIE-LCHlch(51.17, 49.61, 94.83°)
OKLaboklab(57.76% -0.017 0.108)
OKLCHoklch(57.76% 0.109 98.9)
XYZxyz(17.6634, 19.4119, 3.9787)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7A1D #1D2D8A
analogous
#8A441D #8A7A1D #638A1D
triadic
#8A7A1D #1D8A7A #7A1D8A
tetradic
#8A7A1D #1D8A44 #1D2D8A #8A1D63
square
#8A7A1D #1D8A44 #1D2D8A #8A1D63
split-complementary
#8A7A1D #1D638A #441D8A
monochromatic
#252108 #574D12 #8A7A1D #BDA728 #D9C449

Accessibility & contrast

On white

4.30
#8A7A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8A7A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7A1D
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7A1D#FFFFFF#000000##000000
##8A7A1D1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877708
Deuteranopia (green-blind)
#8B7C24
Tritanopia (blue-blind)
#957068
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a7a1d;
/* rgb */ color: rgb(138, 122, 29);
/* oklch */ color: oklch(57.8% 0.109 98.9);
Tailwind
colors: {
  custom: {
    50: '#b0a061',
    500: '#8a7a1d',
    950: '#000000',
  },
}
SCSS
$custom: #8a7a1d;
$custom-light: #b0a061;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7a1d",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 51.193,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57761,
    "c": 0.10929,
    "h": 98.9
  },
  "luminance": 0.19411
}

Semantic roles & 50–950 ramp

primary
#8A7A1D
secondary
#4859BB
accent
#58E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A7A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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