#BABA4D#BABA4D

#BABA4D is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.8% C 0.131 H 109.1°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#BABA4D
RGBrgb(186, 186, 77)
HSLhsl(60, 44%, 52%)
HSVhsv(60, 59%, 73%)
CMYKcmyk(0%, 0%, 58.6%, 27.1%)
CIE-LABlab(73.61, -14.22, 53.90)
CIE-LCHlch(73.61, 55.74, 104.77°)
OKLaboklab(76.76% -0.043 0.124)
OKLCHoklch(76.76% 0.131 109.1)
XYZxyz(39.1493, 46.0938, 13.8545)
Luminance0.4609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA4D #4D4DBA
analogous
#BA844D #BABA4D #84BA4D
triadic
#BABA4D #4DBABA #BA4DBA
tetradic
#BABA4D #4DBA84 #4D4DBA #BA4D84
square
#BABA4D #4DBA84 #4D4DBA #BA4D84
split-complementary
#BABA4D #4D84BA #844DBA
monochromatic
#656527 #919138 #BABA4D #CBCB79 #DCDCA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABA4D#FFFFFF#000000##000000
##BABA4D1.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B341
Deuteranopia (green-blind)
#C9B753
Tritanopia (blue-blind)
#C6AFA3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #baba4d;
/* rgb */ color: rgb(186, 186, 77);
/* oklch */ color: oklch(76.8% 0.131 109.1);
Tailwind
colors: {
  custom: {
    50: '#d1ce83',
    500: '#baba4d',
    950: '#000000',
  },
}
SCSS
$custom: #baba4d;
$custom-light: #d1ce83;
$custom-dark: #000000;
JSON
{
  "hex": "#baba4d",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 77
  },
  "hsl": {
    "h": 60,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76756,
    "c": 0.13121,
    "h": 109.1
  },
  "luminance": 0.46093
}

Semantic roles & 50–950 ramp

primary
#BABA4D
secondary
#9999C9
accent
#54D454
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BABA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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