#998317

A color in the Yellow, Gold family

#998317 is a color in the Yellow, Gold family: RGB(153, 131, 23), HSL(50°, 74%, 35%), CMYK(0%, 14%, 85%, 40%). Closest named color: olive. Contrast is 3.74:1 on white and 5.61:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#998317
RGBrgb(153 131 23)
RGB (legacy)rgb(153, 131, 23)
RGB %rgb(60% 51% 9%)
HSLhsl(50 74% 35%)
HSV / HSBhsv(50, 85%, 60%)
HWBhwb(50 9% 40%)
CMYKcmyk(0%, 14%, 85%, 40%)
CIELAB (D50)lab(55.49 0.82 55.15)
LCHlch(55.49 55.16 89.15)
OKLaboklab(0.6125 -0.0134 0.1189)
OKLCHoklch(0.6125 0.1196 96.41)
Decimal10060567

Properties

Color ToneYellow, Gold
Closest named colorolive ΔE 4.3
Closest web-safe color#999900
Hue50°
Saturation (HSL / HSV)74% / 85%
Lightness (HSL)35%
Brightness or Value (HSV)60%
Luminance (Rec.601 / Rec.709)49% / 50%
Relative luminance (WCAG)0.2307
Red / Green / Blue153 / 131 / 23

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.74:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.61: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.8 / -36.8 · As background with white / black text: Lc -70.3 / 39.3

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: #998317;
  --color-brand-oklch: oklch(61.25% 0.1196 96.41);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(153 131 23 / 50%); }
/* Tailwind CSS */
<div class="bg-[#998317] text-[#998317] border-[#998317]">