#8A7C4E

A color in the Yellow, Gold family

#8a7c4e is a color in the Yellow, Gold family: RGB(138, 124, 78), HSL(46°, 28%, 42%), CMYK(0%, 10%, 43%, 46%). Closest named color: olive. Contrast is 4.14:1 on white and 5.07:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a7c4e
RGBrgb(138 124 78)
RGB (legacy)rgb(138, 124, 78)
RGB %rgb(54% 49% 31%)
HSLhsl(46 28% 42%)
HSV / HSBhsv(46, 43%, 54%)
HWBhwb(46 31% 46%)
CMYKcmyk(0%, 10%, 43%, 46%)
CIELAB (D50)lab(52.47 0.52 27.14)
LCHlch(52.47 27.14 88.91)
OKLaboklab(0.5879 -0.0036 0.066)
OKLCHoklch(0.5879 0.0661 93.1)
Decimal9075790

Properties

Color ToneYellow, Gold
Closest named colorolive ΔE 6.6
Closest web-safe color#996666
Hue46°
Saturation (HSL / HSV)28% / 43%
Lightness (HSL)42%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)48% / 48%
Relative luminance (WCAG)0.2037
Red / Green / Blue138 / 124 / 78

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.14:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.07:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 68.4 / -33.2 · As background with white / black text: Lc -73.9 / 35.6

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #8a7c4e;
  --color-brand-oklch: oklch(58.79% 0.0661 93.1);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 124 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a7c4e] text-[#8a7c4e] border-[#8a7c4e]">