#786D21

A color in the Yellow, Gold family

#786d21 is a color in the Yellow, Gold family: RGB(120, 109, 33), HSL(52°, 57%, 30%), CMYK(0%, 9%, 73%, 53%). Closest named color: darkolivegreen. Contrast is 5.24:1 on white and 4.01:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#786d21
RGBrgb(120 109 33)
RGB (legacy)rgb(120, 109, 33)
RGB %rgb(47% 43% 13%)
HSLhsl(52 57% 30%)
HSV / HSBhsv(52, 73%, 47%)
HWBhwb(52 13% 53%)
CMYKcmyk(0%, 9%, 73%, 53%)
CIELAB (D50)lab(45.95 -2.4 41.82)
LCHlch(45.95 41.89 93.28)
OKLaboklab(0.5301 -0.0181 0.0937)
OKLCHoklch(0.5301 0.0955 100.91)
Decimal7892257

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.24:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.01: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.9 / -25.8 · As background with white / black text: Lc -81.3 / 28.2

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