#796F21

A color in the Yellow, Gold family

#796f21 is a color in the Yellow, Gold family: RGB(121, 111, 33), HSL(53°, 57%, 30%), CMYK(0%, 8%, 73%, 53%). Closest named color: olive. Contrast is 5.11:1 on white and 4.11:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#796f21
RGBrgb(121 111 33)
RGB (legacy)rgb(121, 111, 33)
RGB %rgb(47% 44% 13%)
HSLhsl(53 57% 30%)
HSV / HSBhsv(53, 73%, 47%)
HWBhwb(53 13% 53%)
CMYKcmyk(0%, 8%, 73%, 53%)
CIELAB (D50)lab(46.63 -3.01 42.51)
LCHlch(46.63 42.62 94.05)
OKLaboklab(0.5357 -0.02 0.0952)
OKLCHoklch(0.5357 0.0973 101.88)
Decimal7958305

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.11:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.11: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.2 / -26.6 · As background with white / black text: Lc -80.5 / 28.9

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