#786F21

A color in the Yellow, Gold family

#786f21 is a color in the Yellow, Gold family: RGB(120, 111, 33), HSL(54°, 57%, 30%), CMYK(0%, 7%, 73%, 53%). Closest named color: darkolivegreen. Contrast is 5.13:1 on white and 4.09:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#786f21
RGBrgb(120 111 33)
RGB (legacy)rgb(120, 111, 33)
RGB %rgb(47% 44% 13%)
HSLhsl(54 57% 30%)
HSV / HSBhsv(54, 73%, 47%)
HWBhwb(54 13% 53%)
CMYKcmyk(0%, 7%, 73%, 53%)
CIELAB (D50)lab(46.53 -3.48 42.37)
LCHlch(46.53 42.52 94.69)
OKLaboklab(0.5347 -0.0213 0.095)
OKLCHoklch(0.5347 0.0973 102.64)
Decimal7892769

Properties

Color ToneYellow, Gold
Closest named colordarkolivegreen ΔE 5.5
Closest web-safe color#666633
Hue54°
Saturation (HSL / HSV)57% / 73%
Lightness (HSL)30%
Brightness or Value (HSV)47%
Luminance (Rec.601 / Rec.709)41% / 42%
Relative luminance (WCAG)0.1547
Red / Green / Blue120 / 111 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.13:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.09: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 75.3 / -26.4 · As background with white / black text: Lc -80.7 / 28.8

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: #786f21;
  --color-brand-oklch: oklch(53.47% 0.0973 102.64);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(120 111 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#786f21] text-[#786f21] border-[#786f21]">