#787151

A color in the Yellow, Gold family

#787151 is a color in the Yellow, Gold family: RGB(120, 113, 81), HSL(49°, 19%, 39%), CMYK(0%, 6%, 33%, 53%). Closest named color: dimgray. Contrast is 4.91:1 on white and 4.28:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#787151
RGBrgb(120 113 81)
RGB (legacy)rgb(120, 113, 81)
RGB %rgb(47% 44% 32%)
HSLhsl(49 19% 39%)
HSV / HSBhsv(49, 33%, 47%)
HWBhwb(49 32% 53%)
CMYKcmyk(0%, 6%, 33%, 53%)
CIELAB (D50)lab(47.64 -1.14 18.86)
LCHlch(47.64 18.89 93.47)
OKLaboklab(0.5464 -0.006 0.047)
OKLCHoklch(0.5464 0.0474 97.26)
Decimal7893329

Properties

Color ToneYellow, Gold
Closest named colordimgray ΔE 5.4
Closest web-safe color#666666
Hue49°
Saturation (HSL / HSV)19% / 33%
Lightness (HSL)39%
Brightness or Value (HSV)47%
Luminance (Rec.601 / Rec.709)44% / 44%
Relative luminance (WCAG)0.164
Red / Green / Blue120 / 113 / 81

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 74 / -27.7 · As background with white / black text: Lc -79.4 / 30.1

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: #787151;
  --color-brand-oklch: oklch(54.64% 0.0474 97.26);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(120 113 81 / 50%); }
/* Tailwind CSS */
<div class="bg-[#787151] text-[#787151] border-[#787151]">