#BABD21

A color in the Yellow, Gold family

#babd21 is a color in the Yellow, Gold family: RGB(186, 189, 33), HSL(61°, 70%, 44%), CMYK(2%, 0%, 83%, 26%). Closest named color: yellowgreen. Contrast is 2.02:1 on white and 10.39:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#babd21
RGBrgb(186 189 33)
RGB (legacy)rgb(186, 189, 33)
RGB %rgb(73% 74% 13%)
HSLhsl(61 70% 44%)
HSV / HSBhsv(61, 83%, 74%)
HWBhwb(61 13% 26%)
CMYKcmyk(2%, 0%, 83%, 26%)
CIELAB (D50)lab(74.51 -13.44 69.4)
LCHlch(74.51 70.69 100.96)
OKLaboklab(0.7711 -0.0575 0.151)
OKLCHoklch(0.7711 0.1616 110.85)
Decimal12238113

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 5.4
Closest web-safe color#cccc33
Hue61°
Saturation (HSL / HSV)70% / 83%
Lightness (HSL)44%
Brightness or Value (HSV)74%
Luminance (Rec.601 / Rec.709)67% / 69%
Relative luminance (WCAG)0.4694
Red / Green / Blue186 / 189 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.02:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
10.39: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 39.1 / -63.3 · As background with white / black text: Lc -43.6 / 64.8

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: #babd21;
  --color-brand-oklch: oklch(77.11% 0.1616 110.85);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(186 189 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#babd21] text-[#babd21] border-[#babd21]">