#BABD21#BABD21

#BABD21 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.1% C 0.162 H 110.8°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#BABD21
RGBrgb(186, 189, 33)
HSLhsl(61, 70%, 44%)
HSVhsv(61, 83%, 74%)
CMYKcmyk(1.6%, 0%, 82.5%, 25.9%)
CIE-LABlab(74.15, -17.93, 70.10)
CIE-LCHlch(74.15, 72.35, 104.35°)
OKLaboklab(77.11% -0.0575 0.151)
OKLCHoklch(77.11% 0.162 110.8)
XYZxyz(38.7233, 46.9452, 8.4601)
Luminance0.4694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABD21 #2421BD
analogous
#BD7221 #BABD21 #6CBD21
triadic
#BABD21 #21BABD #BD21BA
tetradic
#BABD21 #21BD72 #2421BD #BD216C
square
#BABD21 #21BD72 #2421BD #BD216C
split-complementary
#BABD21 #216CBD #7221BD
monochromatic
#53550F #878918 #BABD21 #DADD3E #E4E672

Accessibility & contrast

On white

2.02
#BABD21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#BABD21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABD21
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABD21#FFFFFF#000000##000000
##BABD211.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB400
Deuteranopia (green-blind)
#CEB831
Tritanopia (blue-blind)
#C8B1A1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babd21;
/* rgb */ color: rgb(186, 189, 33);
/* oklch */ color: oklch(77.1% 0.162 110.8);
Tailwind
colors: {
  custom: {
    50: '#d3d06d',
    500: '#babd21',
    950: '#000000',
  },
}
SCSS
$custom: #babd21;
$custom-light: #d3d06d;
$custom-dark: #000000;
JSON
{
  "hex": "#babd21",
  "rgb": {
    "r": 186,
    "g": 189,
    "b": 33
  },
  "hsl": {
    "h": 61.154,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.77106,
    "c": 0.16159,
    "h": 110.8
  },
  "luminance": 0.46944
}

Semantic roles & 50–950 ramp

primary
#BABD21
secondary
#6F6DCD
accent
#3BED3E
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BABD21

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BABD21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva