#8A7C1D#8A7C1D

#8A7C1D is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.2% C 0.111 H 100.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8A7C1D
RGBrgb(138, 124, 29)
HSLhsl(52, 65%, 33%)
HSVhsv(52, 79%, 54%)
CMYKcmyk(0%, 10.1%, 79%, 45.9%)
CIE-LABlab(51.73, -5.29, 49.96)
CIE-LCHlch(51.73, 50.24, 96.05°)
OKLaboklab(58.21% -0.0201 0.1091)
OKLCHoklch(58.21% 0.111 100.5)
XYZxyz(17.9115, 19.9081, 4.0614)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7C1D #1D2B8A
analogous
#8A461D #8A7C1D #618A1D
triadic
#8A7C1D #1D8A7C #7C1D8A
tetradic
#8A7C1D #1D8A46 #1D2B8A #8A1D61
square
#8A7C1D #1D8A46 #1D2B8A #8A1D61
split-complementary
#8A7C1D #1D618A #461D8A
monochromatic
#252108 #574F12 #8A7C1D #BDA928 #D9C649

Accessibility & contrast

On white

4.22
#8A7C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8A7C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7C1D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7C1D#FFFFFF#000000##000000
##8A7C1D1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897807
Deuteranopia (green-blind)
#8C7E24
Tritanopia (blue-blind)
#95726A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a7c1d;
/* rgb */ color: rgb(138, 124, 29);
/* oklch */ color: oklch(58.2% 0.111 100.5);
Tailwind
colors: {
  custom: {
    50: '#b0a161',
    500: '#8a7c1d',
    950: '#000000',
  },
}
SCSS
$custom: #8a7c1d;
$custom-light: #b0a161;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7c1d",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 52.294,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58211,
    "c": 0.11092,
    "h": 100.5
  },
  "luminance": 0.19907
}

Semantic roles & 50–950 ramp

primary
#8A7C1D
secondary
#4857BB
accent
#55E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A7C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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