#8A7C1C#8A7C1C

#8A7C1C 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#8A7C1C
RGBrgb(138, 124, 28)
HSLhsl(52, 66%, 33%)
HSVhsv(52, 80%, 54%)
CMYKcmyk(0%, 10.1%, 79.7%, 45.9%)
CIE-LABlab(51.73, -5.33, 50.30)
CIE-LCHlch(51.73, 50.58, 96.05°)
OKLaboklab(58.21% -0.0203 0.1096)
OKLCHoklch(58.21% 0.111 100.5)
XYZxyz(17.8994, 19.9033, 3.9973)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7C1C #1C2A8A
analogous
#8A451C #8A7C1C #618A1C
triadic
#8A7C1C #1C8A7C #7C1C8A
tetradic
#8A7C1C #1C8A45 #1C2A8A #8A1C61
square
#8A7C1C #1C8A45 #1C2A8A #8A1C61
split-complementary
#8A7C1C #1C618A #451C8A
monochromatic
#242107 #574E12 #8A7C1C #BDAA26 #DAC747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7C1C#FFFFFF#000000##000000
##8A7C1C1.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)
#897805
Deuteranopia (green-blind)
#8C7E23
Tritanopia (blue-blind)
#95726A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a7c1c;
/* rgb */ color: rgb(138, 124, 28);
/* oklch */ color: oklch(58.2% 0.111 100.5);
Tailwind
colors: {
  custom: {
    50: '#b0a161',
    500: '#8a7c1c',
    950: '#000000',
  },
}
SCSS
$custom: #8a7c1c;
$custom-light: #b0a161;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7c1c",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 52.364,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58205,
    "c": 0.11147,
    "h": 100.5
  },
  "luminance": 0.19902
}

Semantic roles & 50–950 ramp

primary
#8A7C1C
secondary
#4655BB
accent
#54E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A7C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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