#BABF21

A color in the Yellow, Gold family

#babf21 is a color in the Yellow, Gold family: RGB(186, 191, 33), HSL(62°, 71%, 44%), CMYK(3%, 0%, 83%, 25%). Closest named color: yellowgreen. Contrast is 1.99:1 on white and 10.56:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#babf21
RGBrgb(186 191 33)
RGB (legacy)rgb(186, 191, 33)
RGB %rgb(73% 75% 13%)
HSLhsl(62 71% 44%)
HSV / HSBhsv(62, 83%, 75%)
HWBhwb(62 13% 25%)
CMYKcmyk(3%, 0%, 83%, 25%)
CIELAB (D50)lab(75.06 -14.39 69.84)
LCHlch(75.06 71.31 101.64)
OKLaboklab(0.7755 -0.0603 0.152)
OKLCHoklch(0.7755 0.1635 111.62)
Decimal12238625

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 5
Closest web-safe color#cccc33
Hue62°
Saturation (HSL / HSV)71% / 83%
Lightness (HSL)44%
Brightness or Value (HSV)75%
Luminance (Rec.601 / Rec.709)67% / 70%
Relative luminance (WCAG)0.4781
Red / Green / Blue186 / 191 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.99:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
10.56: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 38.3 / -64.1 · As background with white / black text: Lc -42.7 / 65.6

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