#BABA4B#BABA4B

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

Color values

HEX#BABA4B
RGBrgb(186, 186, 75)
HSLhsl(60, 45%, 51%)
HSVhsv(60, 60%, 73%)
CMYKcmyk(0%, 0%, 59.7%, 27.1%)
CIE-LABlab(73.59, -14.36, 54.76)
CIE-LCHlch(73.59, 56.61, 104.69°)
OKLaboklab(76.74% -0.0436 0.1255)
OKLCHoklch(76.74% 0.133 109.2)
XYZxyz(39.0798, 46.0660, 13.4883)
Luminance0.4607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA4B #4B4BBA
analogous
#BA824B #BABA4B #82BA4B
triadic
#BABA4B #4BBABA #BA4BBA
tetradic
#BABA4B #4BBA82 #4B4BBA #BA4B82
square
#BABA4B #4BBA82 #4B4BBA #BA4B82
split-complementary
#BABA4B #4B82BA #824BBA
monochromatic
#646426 #909037 #BABA4B #CBCB77 #DCDCA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABA4B#FFFFFF#000000##000000
##BABA4B1.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)
#C8B33E
Deuteranopia (green-blind)
#C9B752
Tritanopia (blue-blind)
#C6AFA2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #baba4b;
/* rgb */ color: rgb(186, 186, 75);
/* oklch */ color: oklch(76.7% 0.133 109.2);
Tailwind
colors: {
  custom: {
    50: '#d1ce82',
    500: '#baba4b',
    950: '#000000',
  },
}
SCSS
$custom: #baba4b;
$custom-light: #d1ce82;
$custom-dark: #000000;
JSON
{
  "hex": "#baba4b",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 75
  },
  "hsl": {
    "h": 60,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76735,
    "c": 0.13289,
    "h": 109.2
  },
  "luminance": 0.46065
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BABA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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