#B4B721

A color in the Yellow, Gold family

#b4b721 is a color in the Yellow, Gold family: RGB(180, 183, 33), HSL(61°, 69%, 42%), CMYK(2%, 0%, 82%, 28%). Closest named color: yellowgreen. Contrast is 2.16:1 on white and 9.74:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b4b721
RGBrgb(180 183 33)
RGB (legacy)rgb(180, 183, 33)
RGB %rgb(71% 72% 13%)
HSLhsl(61 69% 42%)
HSV / HSBhsv(61, 82%, 72%)
HWBhwb(61 13% 28%)
CMYKcmyk(2%, 0%, 82%, 28%)
CIELAB (D50)lab(72.36 -13.13 67.41)
LCHlch(72.36 68.68 101.02)
OKLaboklab(0.7528 -0.056 0.1469)
OKLCHoklch(0.7528 0.1572 110.88)
Decimal11843361

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 6.2
Closest web-safe color#cccc33
Hue61°
Saturation (HSL / HSV)69% / 82%
Lightness (HSL)42%
Brightness or Value (HSV)72%
Luminance (Rec.601 / Rec.709)65% / 67%
Relative luminance (WCAG)0.4368
Red / Green / Blue180 / 183 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.16:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.74: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 42.2 / -60 · As background with white / black text: Lc -46.9 / 61.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: #b4b721;
  --color-brand-oklch: oklch(75.28% 0.1572 110.88);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(180 183 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b4b721] text-[#b4b721] border-[#b4b721]">