#B9B708

A color in the Yellow, Gold family

#b9b708 is a color in the Yellow, Gold family: RGB(185, 183, 8), HSL(59°, 92%, 38%), CMYK(0%, 1%, 96%, 27%). Closest named color: yellowgreen. Contrast is 2.13:1 on white and 9.84:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b9b708
RGBrgb(185 183 8)
RGB (legacy)rgb(185, 183, 8)
RGB %rgb(73% 72% 3%)
HSLhsl(59 92% 38%)
HSV / HSBhsv(59, 96%, 73%)
HWBhwb(59 3% 27%)
CMYKcmyk(0%, 1%, 96%, 27%)
CIELAB (D50)lab(72.73 -11.35 72.16)
LCHlch(72.73 73.04 98.94)
OKLaboklab(0.7563 -0.0528 0.1539)
OKLCHoklch(0.7563 0.1627 108.94)
Decimal12171016

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 6.4
Closest web-safe color#cccc00
Hue59°
Saturation (HSL / HSV)92% / 96%
Lightness (HSL)38%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)64% / 67%
Relative luminance (WCAG)0.442
Red / Green / Blue185 / 183 / 8

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 41.7 / -60.6 · As background with white / black text: Lc -46.3 / 62.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: #b9b708;
  --color-brand-oklch: oklch(75.63% 0.1627 108.94);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(185 183 8 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b9b708] text-[#b9b708] border-[#b9b708]">