#BABB24#BABB24

#BABB24 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.7% C 0.158 H 110.0°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#BABB24
RGBrgb(186, 187, 36)
HSLhsl(60, 68%, 44%)
HSVhsv(60, 81%, 73%)
CMYKcmyk(0.5%, 0%, 80.7%, 26.7%)
CIE-LABlab(73.62, -16.84, 68.87)
CIE-LCHlch(73.62, 70.90, 103.74°)
OKLaboklab(76.68% -0.0543 0.1489)
OKLCHoklch(76.68% 0.158 110)
XYZxyz(38.3399, 46.1083, 8.5489)
Luminance0.4611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB24 #2524BB
analogous
#BB7024 #BABB24 #6EBB24
triadic
#BABB24 #24BABB #BB24BA
tetradic
#BABB24 #24BB70 #2524BB #BB246E
square
#BABB24 #24BB70 #2524BB #BB246E
split-complementary
#BABB24 #246EBB #7024BB
monochromatic
#545410 #87881A #BABB24 #DADB42 #E4E475

Accessibility & contrast

On white

2.05
#BABB24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#BABB24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB24
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB24#FFFFFF#000000##000000
##BABB241.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CCB733
Tritanopia (blue-blind)
#C8AFA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #babb24;
/* rgb */ color: rgb(186, 187, 36);
/* oklch */ color: oklch(76.7% 0.158 110.0);
Tailwind
colors: {
  custom: {
    50: '#d3cf6e',
    500: '#babb24',
    950: '#000000',
  },
}
SCSS
$custom: #babb24;
$custom-light: #d3cf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#babb24",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 36
  },
  "hsl": {
    "h": 60.397,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.76679,
    "c": 0.15846,
    "h": 110
  },
  "luminance": 0.46107
}

Semantic roles & 50–950 ramp

primary
#BABB24
secondary
#706FCC
accent
#3DEB3E
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BABB24

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

Preview Lab → · Contrast checker → · Palette generator →

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