#BABE25#BABE25

#BABE25 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#BABE25
RGBrgb(186, 190, 37)
HSLhsl(62, 67%, 45%)
HSVhsv(62, 81%, 75%)
CMYKcmyk(2.1%, 0%, 80.5%, 25.5%)
CIE-LABlab(74.45, -18.31, 69.32)
CIE-LCHlch(74.45, 71.70, 104.80°)
OKLaboklab(77.34% -0.0583 0.15)
OKLCHoklch(77.34% 0.161 111.2)
XYZxyz(38.9985, 47.4007, 8.8448)
Luminance0.4740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABE25 #2925BE
analogous
#BE7625 #BABE25 #6DBE25
triadic
#BABE25 #25BABE #BE25BA
tetradic
#BABE25 #25BE76 #2925BE #BE256D
square
#BABE25 #25BE76 #2925BE #BE256D
split-complementary
#BABE25 #256DBE #7625BE
monochromatic
#565811 #888B1B #BABE25 #D7DB45 #E2E579

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABE25#FFFFFF#000000##000000
##BABE251.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)
#CEB934
Tritanopia (blue-blind)
#C7B2A3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #babe25;
/* rgb */ color: rgb(186, 190, 37);
/* oklch */ color: oklch(77.3% 0.161 111.2);
Tailwind
colors: {
  custom: {
    50: '#d3d16f',
    500: '#babe25',
    950: '#000000',
  },
}
SCSS
$custom: #babe25;
$custom-light: #d3d16f;
$custom-dark: #000000;
JSON
{
  "hex": "#babe25",
  "rgb": {
    "r": 186,
    "g": 190,
    "b": 37
  },
  "hsl": {
    "h": 61.569,
    "s": 67.401,
    "l": 44.51
  },
  "oklch": {
    "l": 0.77343,
    "c": 0.16096,
    "h": 111.2
  },
  "luminance": 0.474
}

Semantic roles & 50–950 ramp

primary
#BABE25
secondary
#7572CD
accent
#3EEA42
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #BABE25

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

Preview Lab → · Contrast checker → · Palette generator →

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