#BABE24#BABE24

#BABE24 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.3% C 0.161 H 111.2°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#BABE24
RGBrgb(186, 190, 36)
HSLhsl(62, 68%, 44%)
HSVhsv(62, 81%, 75%)
CMYKcmyk(2.1%, 0%, 81.1%, 25.5%)
CIE-LABlab(74.44, -18.34, 69.58)
CIE-LCHlch(74.44, 71.96, 104.77°)
OKLaboklab(77.34% -0.0584 0.1504)
OKLCHoklch(77.34% 0.161 111.2)
XYZxyz(38.9830, 47.3945, 8.7633)
Luminance0.4739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABE24 #2824BE
analogous
#BE7524 #BABE24 #6DBE24
triadic
#BABE24 #24BABE #BE24BA
tetradic
#BABE24 #24BE75 #2824BE #BE246D
square
#BABE24 #24BE75 #2824BE #BE246D
split-complementary
#BABE24 #246DBE #7524BE
monochromatic
#555711 #888B1A #BABE24 #D8DC44 #E2E577

Accessibility & contrast

On white

2.00
#BABE24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#BABE24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABE24
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABE24#FFFFFF#000000##000000
##BABE241.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CEB933
Tritanopia (blue-blind)
#C7B2A2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #babe24;
/* rgb */ color: rgb(186, 190, 36);
/* oklch */ color: oklch(77.3% 0.161 111.2);
Tailwind
colors: {
  custom: {
    50: '#d3d16e',
    500: '#babe24',
    950: '#000000',
  },
}
SCSS
$custom: #babe24;
$custom-light: #d3d16e;
$custom-dark: #000000;
JSON
{
  "hex": "#babe24",
  "rgb": {
    "r": 186,
    "g": 190,
    "b": 36
  },
  "hsl": {
    "h": 61.558,
    "s": 68.142,
    "l": 44.314
  },
  "oklch": {
    "l": 0.77339,
    "c": 0.16137,
    "h": 111.2
  },
  "luminance": 0.47393
}

Semantic roles & 50–950 ramp

primary
#BABE24
secondary
#7371CD
accent
#3DEB41
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #BABE24

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

Preview Lab → · Contrast checker → · Palette generator →

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