#B2B621

A color in the Yellow, Gold family

#b2b621 is a color in the Yellow, Gold family: RGB(178, 182, 33), HSL(62°, 69%, 42%), CMYK(2%, 0%, 82%, 29%). Closest named color: darkkhaki. Contrast is 2.19:1 on white and 9.61:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b2b621
RGBrgb(178 182 33)
RGB (legacy)rgb(178, 182, 33)
RGB %rgb(70% 71% 13%)
HSLhsl(62 69% 42%)
HSV / HSBhsv(62, 82%, 71%)
HWBhwb(62 13% 29%)
CMYKcmyk(2%, 0%, 82%, 29%)
CIELAB (D50)lab(71.91 -13.51 66.97)
LCHlch(71.91 68.32 101.4)
OKLaboklab(0.7489 -0.0569 0.1461)
OKLCHoklch(0.7489 0.1568 111.3)
Decimal11712033

Properties

Color ToneYellow, Gold
Closest named colordarkkhaki ΔE 6.3
Closest web-safe color#99cc33
Hue62°
Saturation (HSL / HSV)69% / 82%
Lightness (HSL)42%
Brightness or Value (HSV)71%
Luminance (Rec.601 / Rec.709)64% / 67%
Relative luminance (WCAG)0.4303
Red / Green / Blue178 / 182 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.19:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.61: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.9 / -59.3 · As background with white / black text: Lc -47.6 / 61.1

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: #b2b621;
  --color-brand-oklch: oklch(74.89% 0.1568 111.3);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(178 182 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b2b621] text-[#b2b621] border-[#b2b621]">