#BABD26#BABD26

#BABD26 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.1% C 0.160 H 110.8°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#BABD26
RGBrgb(186, 189, 38)
HSLhsl(61, 67%, 45%)
HSVhsv(61, 80%, 74%)
CMYKcmyk(1.6%, 0%, 79.9%, 25.9%)
CIE-LABlab(74.17, -17.78, 68.82)
CIE-LCHlch(74.17, 71.07, 104.48°)
OKLaboklab(77.13% -0.0567 0.1491)
OKLCHoklch(77.13% 0.16 110.8)
XYZxyz(38.7986, 46.9753, 8.8567)
Luminance0.4697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABD26 #2926BD
analogous
#BD7526 #BABD26 #6FBD26
triadic
#BABD26 #26BABD #BD26BA
tetradic
#BABD26 #26BD75 #2926BD #BD266F
square
#BABD26 #26BD75 #2926BD #BD266F
split-complementary
#BABD26 #266FBD #7526BD
monochromatic
#565712 #888A1C #BABD26 #D7DA46 #E2E479

Accessibility & contrast

On white

2.02
#BABD26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#BABD26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABD26
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABD26#FFFFFF#000000##000000
##BABD261.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CEB834
Tritanopia (blue-blind)
#C7B1A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babd26;
/* rgb */ color: rgb(186, 189, 38);
/* oklch */ color: oklch(77.1% 0.160 110.8);
Tailwind
colors: {
  custom: {
    50: '#d3d06f',
    500: '#babd26',
    950: '#000000',
  },
}
SCSS
$custom: #babd26;
$custom-light: #d3d06f;
$custom-dark: #000000;
JSON
{
  "hex": "#babd26",
  "rgb": {
    "r": 186,
    "g": 189,
    "b": 38
  },
  "hsl": {
    "h": 61.192,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.77128,
    "c": 0.15954,
    "h": 110.8
  },
  "luminance": 0.46974
}

Semantic roles & 50–950 ramp

primary
#BABD26
secondary
#7573CC
accent
#3EE942
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BABD26

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

Preview Lab → · Contrast checker → · Palette generator →

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