#798E13

A color in the Yellow, Gold family

#798e13 is a color in the Yellow, Gold family: RGB(121, 142, 19), HSL(70°, 76%, 32%), CMYK(15%, 0%, 87%, 44%). Closest named color: olivedrab. Contrast is 3.69:1 on white and 5.69:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#798e13
RGBrgb(121 142 19)
RGB (legacy)rgb(121, 142, 19)
RGB %rgb(47% 56% 7%)
HSLhsl(70 76% 32%)
HSV / HSBhsv(70, 87%, 56%)
HWBhwb(70 7% 44%)
CMYKcmyk(15%, 0%, 87%, 44%)
CIELAB (D50)lab(55.77 -19.18 54.95)
LCHlch(55.77 58.21 109.24)
OKLaboklab(0.6089 -0.069 0.1203)
OKLCHoklch(0.6089 0.1387 119.85)
Decimal7966227

Properties

Color ToneYellow, Gold
Closest named colorolivedrab ΔE 1.8
Closest web-safe color#669900
Hue70°
Saturation (HSL / HSV)76% / 87%
Lightness (HSL)32%
Brightness or Value (HSV)56%
Luminance (Rec.601 / Rec.709)48% / 50%
Relative luminance (WCAG)0.2346
Red / Green / Blue121 / 142 / 19

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.69:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.69: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 64.3 / -37.4 · As background with white / black text: Lc -69.8 / 39.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: #798e13;
  --color-brand-oklch: oklch(60.89% 0.1387 119.85);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(121 142 19 / 50%); }
/* Tailwind CSS */
<div class="bg-[#798e13] text-[#798e13] border-[#798e13]">