#BFAF21

A color in the Yellow, Gold family

#bfaf21 is a color in the Yellow, Gold family: RGB(191, 175, 33), HSL(54°, 71%, 44%), CMYK(0%, 8%, 83%, 25%). Closest named color: goldenrod. Contrast is 2.24:1 on white and 9.37:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#bfaf21
RGBrgb(191 175 33)
RGB (legacy)rgb(191, 175, 33)
RGB %rgb(75% 69% 13%)
HSLhsl(54 71% 44%)
HSV / HSBhsv(54, 83%, 75%)
HWBhwb(54 13% 25%)
CMYKcmyk(0%, 8%, 83%, 25%)
CIELAB (D50)lab(71.16 -4.51 66.92)
LCHlch(71.16 67.07 93.85)
OKLaboklab(0.7451 -0.0318 0.1449)
OKLCHoklch(0.7451 0.1483 102.37)
Decimal12562209

Properties

Color ToneYellow, Gold
Closest named colorgoldenrod ΔE 4.8
Closest web-safe color#cc9933
Hue54°
Saturation (HSL / HSV)71% / 83%
Lightness (HSL)44%
Brightness or Value (HSV)75%
Luminance (Rec.601 / Rec.709)64% / 66%
Relative luminance (WCAG)0.4185
Red / Green / Blue191 / 175 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.24:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.37: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 44 / -58.1 · As background with white / black text: Lc -48.8 / 60

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: #bfaf21;
  --color-brand-oklch: oklch(74.51% 0.1483 102.37);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(191 175 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#bfaf21] text-[#bfaf21] border-[#bfaf21]">