#798B21

A color in the Yellow, Gold family

#798b21 is a color in the Yellow, Gold family: RGB(121, 139, 33), HSL(70°, 62%, 34%), CMYK(13%, 0%, 76%, 45%). Closest named color: olivedrab. Contrast is 3.8:1 on white and 5.53:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#798b21
RGBrgb(121 139 33)
RGB (legacy)rgb(121, 139, 33)
RGB %rgb(47% 55% 13%)
HSLhsl(70 62% 34%)
HSV / HSBhsv(70, 76%, 55%)
HWBhwb(70 13% 45%)
CMYKcmyk(13%, 0%, 76%, 45%)
CIELAB (D50)lab(54.92 -17.33 50.22)
LCHlch(54.92 53.13 109.04)
OKLaboklab(0.6023 -0.0622 0.1123)
OKLCHoklch(0.6023 0.1284 119)
Decimal7965473

Properties

Color ToneYellow, Gold
Closest named colorolivedrab ΔE 1.9
Closest web-safe color#669933
Hue70°
Saturation (HSL / HSV)62% / 76%
Lightness (HSL)34%
Brightness or Value (HSV)55%
Luminance (Rec.601 / Rec.709)48% / 50%
Relative luminance (WCAG)0.2264
Red / Green / Blue121 / 139 / 33

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 65.4 / -36.3 · As background with white / black text: Lc -70.9 / 38.7

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: #798b21;
  --color-brand-oklch: oklch(60.23% 0.1284 119);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(121 139 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#798b21] text-[#798b21] border-[#798b21]">