#BABA48#BABA48

#BABA48 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.7% C 0.135 H 109.2°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#BABA48
RGBrgb(186, 186, 72)
HSLhsl(60, 45%, 51%)
HSVhsv(60, 61%, 73%)
CMYKcmyk(0%, 0%, 61.3%, 27.1%)
CIE-LABlab(73.56, -14.56, 56.04)
CIE-LCHlch(73.56, 57.90, 104.57°)
OKLaboklab(76.71% -0.0445 0.1278)
OKLCHoklch(76.71% 0.135 109.2)
XYZxyz(38.9795, 46.0259, 12.9602)
Luminance0.4602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA48 #4848BA
analogous
#BA8148 #BABA48 #81BA48
triadic
#BABA48 #48BABA #BA48BA
tetradic
#BABA48 #48BA81 #4848BA #BA4881
square
#BABA48 #48BA81 #4848BA #BA4881
split-complementary
#BABA48 #4881BA #8148BA
monochromatic
#626225 #8F8F36 #BABA48 #CBCB74 #DCDCA1

Accessibility & contrast

On white

2.06
#BABA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#BABA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA48
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA48#FFFFFF#000000##000000
##BABA481.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B33A
Deuteranopia (green-blind)
#CAB74F
Tritanopia (blue-blind)
#C6AFA2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #baba48;
/* rgb */ color: rgb(186, 186, 72);
/* oklch */ color: oklch(76.7% 0.135 109.2);
Tailwind
colors: {
  custom: {
    50: '#d1ce80',
    500: '#baba48',
    950: '#000000',
  },
}
SCSS
$custom: #baba48;
$custom-light: #d1ce80;
$custom-dark: #000000;
JSON
{
  "hex": "#baba48",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 72
  },
  "hsl": {
    "h": 60,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76706,
    "c": 0.13535,
    "h": 109.2
  },
  "luminance": 0.46025
}

Semantic roles & 50–950 ramp

primary
#BABA48
secondary
#9696C8
accent
#53D553
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #BABA48

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

Preview Lab → · Contrast checker → · Palette generator →

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