#BABA49#BABA49

#BABA49 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.21:1 contrast (WCAG AA passes).

Color values

HEX#BABA49
RGBrgb(186, 186, 73)
HSLhsl(60, 45%, 51%)
HSVhsv(60, 61%, 73%)
CMYKcmyk(0%, 0%, 60.8%, 27.1%)
CIE-LABlab(73.57, -14.50, 55.61)
CIE-LCHlch(73.57, 57.47, 104.61°)
OKLaboklab(76.72% -0.0442 0.1271)
OKLCHoklch(76.72% 0.135 109.2)
XYZxyz(39.0124, 46.0390, 13.1334)
Luminance0.4604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA49 #4949BA
analogous
#BA8149 #BABA49 #81BA49
triadic
#BABA49 #49BABA #BA49BA
tetradic
#BABA49 #49BA81 #4949BA #BA4981
square
#BABA49 #49BA81 #4949BA #BA4981
split-complementary
#BABA49 #4981BA #8149BA
monochromatic
#636326 #8F8F36 #BABA49 #CBCB75 #DCDCA2

Accessibility & contrast

On white

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

On black

10.21
#BABA49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA49
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA49#FFFFFF#000000##000000
##BABA491.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baba49;
/* rgb */ color: rgb(186, 186, 73);
/* oklch */ color: oklch(76.7% 0.135 109.2);
Tailwind
colors: {
  custom: {
    50: '#d1ce81',
    500: '#baba49',
    950: '#000000',
  },
}
SCSS
$custom: #baba49;
$custom-light: #d1ce81;
$custom-dark: #000000;
JSON
{
  "hex": "#baba49",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 73
  },
  "hsl": {
    "h": 60,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76716,
    "c": 0.13455,
    "h": 109.2
  },
  "luminance": 0.46038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BABA49

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

Preview Lab → · Contrast checker → · Palette generator →

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