#B3D821

A color in the Yellow, Gold family

#b3d821 is a color in the Yellow, Gold family: RGB(179, 216, 33), HSL(72°, 73%, 49%), CMYK(17%, 0%, 85%, 15%). Closest named color: yellowgreen. Contrast is 1.65:1 on white and 12.76:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b3d821
RGBrgb(179 216 33)
RGB (legacy)rgb(179, 216, 33)
RGB %rgb(70% 85% 13%)
HSLhsl(72 73% 49%)
HSV / HSBhsv(72, 85%, 85%)
HWBhwb(72 13% 15%)
CMYKcmyk(17%, 0%, 85%, 15%)
CIELAB (D50)lab(81.48 -28.6 74.76)
LCHlch(81.48 80.04 110.93)
OKLaboklab(0.8263 -0.1007 0.1637)
OKLCHoklch(0.8263 0.1922 121.59)
Decimal11786273

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 4.5
Closest web-safe color#cccc33
Hue72°
Saturation (HSL / HSV)73% / 85%
Lightness (HSL)49%
Brightness or Value (HSV)85%
Luminance (Rec.601 / Rec.709)72% / 76%
Relative luminance (WCAG)0.5881
Red / Green / Blue179 / 216 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.65:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.76: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 28.4 / -74.5 · As background with white / black text: Lc -32 / 75.4

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: #b3d821;
  --color-brand-oklch: oklch(82.63% 0.1922 121.59);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(179 216 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b3d821] text-[#b3d821] border-[#b3d821]">