#BABD24#BABD24

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

Color values

HEX#BABD24
RGBrgb(186, 189, 36)
HSLhsl(61, 68%, 44%)
HSVhsv(61, 81%, 74%)
CMYKcmyk(1.6%, 0%, 81%, 25.9%)
CIE-LABlab(74.17, -17.84, 69.34)
CIE-LCHlch(74.17, 71.60, 104.43°)
OKLaboklab(77.12% -0.057 0.1499)
OKLCHoklch(77.12% 0.16 110.8)
XYZxyz(38.7672, 46.9628, 8.6913)
Luminance0.4696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABD24 #2724BD
analogous
#BD7324 #BABD24 #6EBD24
triadic
#BABD24 #24BABD #BD24BA
tetradic
#BABD24 #24BD73 #2724BD #BD246E
square
#BABD24 #24BD73 #2724BD #BD246E
split-complementary
#BABD24 #246EBD #7324BD
monochromatic
#555610 #878A1A #BABD24 #D8DB43 #E3E576

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABD24#FFFFFF#000000##000000
##BABD241.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)
#CCB400
Deuteranopia (green-blind)
#CEB833
Tritanopia (blue-blind)
#C7B1A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babd24;
/* rgb */ color: rgb(186, 189, 36);
/* oklch */ color: oklch(77.1% 0.160 110.8);
Tailwind
colors: {
  custom: {
    50: '#d3d06e',
    500: '#babd24',
    950: '#000000',
  },
}
SCSS
$custom: #babd24;
$custom-light: #d3d06e;
$custom-dark: #000000;
JSON
{
  "hex": "#babd24",
  "rgb": {
    "r": 186,
    "g": 189,
    "b": 36
  },
  "hsl": {
    "h": 61.176,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.77119,
    "c": 0.1604,
    "h": 110.8
  },
  "luminance": 0.46962
}

Semantic roles & 50–950 ramp

primary
#BABD24
secondary
#7270CC
accent
#3DEB40
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BABD24

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

Preview Lab → · Contrast checker → · Palette generator →

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