#B4C821

A color in the Yellow, Gold family

#b4c821 is a color in the Yellow, Gold family: RGB(180, 200, 33), HSL(67°, 72%, 46%), CMYK(10%, 0%, 84%, 22%). Closest named color: yellowgreen. Contrast is 1.87:1 on white and 11.22:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b4c821
RGBrgb(180 200 33)
RGB (legacy)rgb(180, 200, 33)
RGB %rgb(71% 78% 13%)
HSLhsl(67 72% 46%)
HSV / HSBhsv(67, 84%, 78%)
HWBhwb(67 13% 22%)
CMYKcmyk(10%, 0%, 84%, 22%)
CIELAB (D50)lab(77.07 -21.07 71.24)
LCHlch(77.07 74.29 106.48)
OKLaboklab(0.7908 -0.0791 0.1556)
OKLCHoklch(0.7908 0.1746 116.94)
Decimal11847713

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 3.2
Closest web-safe color#cccc33
Hue67°
Saturation (HSL / HSV)72% / 84%
Lightness (HSL)46%
Brightness or Value (HSV)78%
Luminance (Rec.601 / Rec.709)69% / 72%
Relative luminance (WCAG)0.5112
Red / Green / Blue180 / 200 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.87:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
11.22: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 35.2 / -67.3 · As background with white / black text: Lc -39.4 / 68.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: #b4c821;
  --color-brand-oklch: oklch(79.08% 0.1746 116.94);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(180 200 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b4c821] text-[#b4c821] border-[#b4c821]">