#BABB26#BABB26

#BABB26 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#BABB26
RGBrgb(186, 187, 38)
HSLhsl(60, 66%, 44%)
HSVhsv(60, 80%, 73%)
CMYKcmyk(0.5%, 0%, 79.7%, 26.7%)
CIE-LABlab(73.62, -16.77, 68.33)
CIE-LCHlch(73.62, 70.36, 103.79°)
OKLaboklab(76.69% -0.0539 0.1481)
OKLCHoklch(76.69% 0.158 110)
XYZxyz(38.3713, 46.1208, 8.7143)
Luminance0.4612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB26 #2726BB
analogous
#BB7226 #BABB26 #70BB26
triadic
#BABB26 #26BABB #BB26BA
tetradic
#BABB26 #26BB72 #2726BB #BB2670
square
#BABB26 #26BB72 #2726BB #BB2670
split-complementary
#BABB26 #2670BB #7226BB
monochromatic
#555511 #87881C #BABB26 #D8D945 #E3E478

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABB26#FFFFFF#000000##000000
##BABB261.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)
#CAB300
Deuteranopia (green-blind)
#CCB734
Tritanopia (blue-blind)
#C8AFA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #babb26;
/* rgb */ color: rgb(186, 187, 38);
/* oklch */ color: oklch(76.7% 0.158 110.0);
Tailwind
colors: {
  custom: {
    50: '#d3cf6f',
    500: '#babb26',
    950: '#000000',
  },
}
SCSS
$custom: #babb26;
$custom-light: #d3cf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#babb26",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 38
  },
  "hsl": {
    "h": 60.403,
    "s": 66.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.76688,
    "c": 0.1576,
    "h": 110
  },
  "luminance": 0.4612
}

Semantic roles & 50–950 ramp

primary
#BABB26
secondary
#7272CB
accent
#3FE940
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BABB26

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

Preview Lab → · Contrast checker → · Palette generator →

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