#797621

A color in the Yellow, Gold family

#797621 is a color in the Yellow, Gold family: RGB(121, 118, 33), HSL(58°, 57%, 30%), CMYK(0%, 2%, 73%, 53%). Closest named color: olive. Contrast is 4.74:1 on white and 4.43:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#797621
RGBrgb(121 118 33)
RGB (legacy)rgb(121, 118, 33)
RGB %rgb(47% 46% 13%)
HSLhsl(58 57% 30%)
HSV / HSBhsv(58, 73%, 47%)
HWBhwb(58 13% 53%)
CMYKcmyk(0%, 2%, 73%, 53%)
CIELAB (D50)lab(48.68 -6.73 44.45)
LCHlch(48.68 44.96 98.61)
OKLaboklab(0.5521 -0.0311 0.0995)
OKLCHoklch(0.5521 0.1042 107.35)
Decimal7960097

Properties

Color ToneYellow, Gold
Closest named colorolive ΔE 3.7
Closest web-safe color#666633
Hue58°
Saturation (HSL / HSV)57% / 73%
Lightness (HSL)30%
Brightness or Value (HSV)47%
Luminance (Rec.601 / Rec.709)43% / 44%
Relative luminance (WCAG)0.1713
Red / Green / Blue121 / 118 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.74:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.43: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 72.8 / -28.8 · As background with white / black text: Lc -78.3 / 31.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: #797621;
  --color-brand-oklch: oklch(55.21% 0.1042 107.35);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(121 118 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#797621] text-[#797621] border-[#797621]">