#BAED21

A color in the Yellow, Gold family

#baed21 is a color in the Yellow, Gold family: RGB(186, 237, 33), HSL(75°, 85%, 53%), CMYK(22%, 0%, 86%, 7%). Closest named color: greenyellow. Contrast is 1.38:1 on white and 15.22:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#baed21
RGBrgb(186 237 33)
RGB (legacy)rgb(186, 237, 33)
RGB %rgb(73% 93% 13%)
HSLhsl(75 85% 53%)
HSV / HSBhsv(75, 86%, 93%)
HWBhwb(75 13% 7%)
CMYKcmyk(22%, 0%, 86%, 7%)
CIELAB (D50)lab(87.84 -34.82 80.08)
LCHlch(87.84 87.33 113.5)
OKLaboklab(0.8789 -0.1192 0.1754)
OKLCHoklch(0.8789 0.2121 124.2)
Decimal12250401

Properties

Color ToneYellow, Gold
Closest named colorgreenyellow ΔE 4.6
Closest web-safe color#ccff33
Hue75°
Saturation (HSL / HSV)85% / 86%
Lightness (HSL)53%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)78% / 83%
Relative luminance (WCAG)0.7112
Red / Green / Blue186 / 237 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.38:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.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 18.3 / -85.3 · As background with white / black text: Lc -20.9 / 85.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: #baed21;
  --color-brand-oklch: oklch(87.89% 0.2121 124.2);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(186 237 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#baed21] text-[#baed21] border-[#baed21]">