#BABE26#BABE26

#BABE26 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#BABE26
RGBrgb(186, 190, 38)
HSLhsl(62, 67%, 45%)
HSVhsv(62, 80%, 75%)
CMYKcmyk(2.1%, 0%, 80%, 25.5%)
CIE-LABlab(74.45, -18.28, 69.06)
CIE-LCHlch(74.45, 71.43, 104.82°)
OKLaboklab(77.35% -0.0581 0.1496)
OKLCHoklch(77.35% 0.161 111.2)
XYZxyz(39.0144, 47.4070, 8.9287)
Luminance0.4741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABE26 #2A26BE
analogous
#BE7626 #BABE26 #6EBE26
triadic
#BABE26 #26BABE #BE26BA
tetradic
#BABE26 #26BE76 #2A26BE #BE266E
square
#BABE26 #26BE76 #2A26BE #BE266E
split-complementary
#BABE26 #266EBE #7626BE
monochromatic
#565812 #888B1C #BABE26 #D6DA47 #E2E47A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #babe26;
/* rgb */ color: rgb(186, 190, 38);
/* oklch */ color: oklch(77.3% 0.161 111.2);
Tailwind
colors: {
  custom: {
    50: '#d3d16f',
    500: '#babe26',
    950: '#000000',
  },
}
SCSS
$custom: #babe26;
$custom-light: #d3d16f;
$custom-dark: #000000;
JSON
{
  "hex": "#babe26",
  "rgb": {
    "r": 186,
    "g": 190,
    "b": 38
  },
  "hsl": {
    "h": 61.579,
    "s": 66.667,
    "l": 44.706
  },
  "oklch": {
    "l": 0.77348,
    "c": 0.16053,
    "h": 111.2
  },
  "luminance": 0.47406
}

Semantic roles & 50–950 ramp

primary
#BABE26
secondary
#7674CC
accent
#3EEA43
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #BABE26

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

Preview Lab → · Contrast checker → · Palette generator →

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