#BABD48#BABD48

#BABD48 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.4% C 0.139 H 110.6°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#BABD48
RGBrgb(186, 189, 72)
HSLhsl(62, 47%, 51%)
HSVhsv(62, 62%, 74%)
CMYKcmyk(1.6%, 0%, 61.9%, 25.9%)
CIE-LABlab(74.38, -16.09, 56.92)
CIE-LCHlch(74.38, 59.15, 105.78°)
OKLaboklab(77.36% -0.0488 0.1297)
OKLCHoklch(77.36% 0.139 110.6)
XYZxyz(39.6181, 47.3032, 13.1731)
Luminance0.4730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABD48 #4B48BD
analogous
#BD8548 #BABD48 #7FBD48
triadic
#BABD48 #48BABD #BD48BA
tetradic
#BABD48 #48BD85 #4B48BD #BD487F
square
#BABD48 #48BD85 #4B48BD #BD487F
split-complementary
#BABD48 #487FBD #8548BD
monochromatic
#646625 #909335 #BABD48 #CBCD75 #DCDDA2

Accessibility & contrast

On white

2.01
#BABD48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#BABD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABD48
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABD48#FFFFFF#000000##000000
##BABD481.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53A
Deuteranopia (green-blind)
#CCB94F
Tritanopia (blue-blind)
#C6B2A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #babd48;
/* rgb */ color: rgb(186, 189, 72);
/* oklch */ color: oklch(77.4% 0.139 110.6);
Tailwind
colors: {
  custom: {
    50: '#d1d080',
    500: '#babd48',
    950: '#000000',
  },
}
SCSS
$custom: #babd48;
$custom-light: #d1d080;
$custom-dark: #000000;
JSON
{
  "hex": "#babd48",
  "rgb": {
    "r": 186,
    "g": 189,
    "b": 72
  },
  "hsl": {
    "h": 61.538,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77362,
    "c": 0.13857,
    "h": 110.6
  },
  "luminance": 0.47302
}

Semantic roles & 50–950 ramp

primary
#BABD48
secondary
#9897CA
accent
#51D755
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C

Preview Lab

Preview with #BABD48

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

Preview Lab → · Contrast checker → · Palette generator →

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