#BABA21

A color in the Yellow, Gold family

#baba21 is a color in the Yellow, Gold family: RGB(186, 186, 33), HSL(60°, 70%, 43%), CMYK(0%, 0%, 82%, 27%). Closest named color: yellowgreen. Contrast is 2.07:1 on white and 10.13:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#baba21
RGBrgb(186 186 33)
RGB (legacy)rgb(186, 186, 33)
RGB %rgb(73% 73% 13%)
HSLhsl(60 70% 43%)
HSV / HSBhsv(60, 82%, 73%)
HWBhwb(60 13% 27%)
CMYKcmyk(0%, 0%, 82%, 27%)
CIELAB (D50)lab(73.69 -12.01 68.74)
LCHlch(73.69 69.78 99.91)
OKLaboklab(0.7645 -0.0533 0.1495)
OKLCHoklch(0.7645 0.1587 109.63)
Decimal12237345

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 6
Closest web-safe color#cccc33
Hue60°
Saturation (HSL / HSV)70% / 82%
Lightness (HSL)43%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)66% / 69%
Relative luminance (WCAG)0.4567
Red / Green / Blue186 / 186 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.07:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
10.13: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 40.3 / -62 · As background with white / black text: Lc -44.9 / 63.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: #baba21;
  --color-brand-oklch: oklch(76.45% 0.1587 109.63);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(186 186 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#baba21] text-[#baba21] border-[#baba21]">