#BABE42#BABE42

#BABE42 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.5% C 0.144 H 111.1°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#BABE42
RGBrgb(186, 190, 66)
HSLhsl(62, 49%, 50%)
HSVhsv(62, 65%, 75%)
CMYKcmyk(2.1%, 0%, 65.3%, 25.5%)
CIE-LABlab(74.61, -16.97, 59.64)
CIE-LCHlch(74.61, 62.00, 105.88°)
OKLaboklab(77.53% -0.0519 0.1345)
OKLCHoklch(77.53% 0.144 111.1)
XYZxyz(39.6477, 47.6603, 12.2640)
Luminance0.4766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABE42 #4642BE
analogous
#BE8442 #BABE42 #7CBE42
triadic
#BABE42 #42BABE #BE42BA
tetradic
#BABE42 #42BE84 #4642BE #BE427C
square
#BABE42 #42BE84 #4642BE #BE427C
split-complementary
#BABE42 #427CBE #8442BE
monochromatic
#616322 #8E9132 #BABE42 #CBCE70 #DBDD9D

Accessibility & contrast

On white

1.99
#BABE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#BABE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABE42
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABE42#FFFFFF#000000##000000
##BABE421.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB631
Deuteranopia (green-blind)
#CDB94A
Tritanopia (blue-blind)
#C6B3A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #babe42;
/* rgb */ color: rgb(186, 190, 66);
/* oklch */ color: oklch(77.5% 0.144 111.1);
Tailwind
colors: {
  custom: {
    50: '#d2d17d',
    500: '#babe42',
    950: '#000000',
  },
}
SCSS
$custom: #babe42;
$custom-light: #d2d17d;
$custom-dark: #000000;
JSON
{
  "hex": "#babe42",
  "rgb": {
    "r": 186,
    "g": 190,
    "b": 66
  },
  "hsl": {
    "h": 61.935,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.77528,
    "c": 0.14421,
    "h": 111.1
  },
  "luminance": 0.47659
}

Semantic roles & 50–950 ramp

primary
#BABE42
secondary
#9492CA
accent
#4FD854
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #BABE42

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

Preview Lab → · Contrast checker → · Palette generator →

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