#BABA4A#BABA4A

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

Color values

HEX#BABA4A
RGBrgb(186, 186, 74)
HSLhsl(60, 45%, 51%)
HSVhsv(60, 60%, 73%)
CMYKcmyk(0%, 0%, 60.2%, 27.1%)
CIE-LABlab(73.58, -14.43, 55.19)
CIE-LCHlch(73.58, 57.04, 104.65°)
OKLaboklab(76.73% -0.0439 0.1263)
OKLCHoklch(76.73% 0.134 109.2)
XYZxyz(39.0458, 46.0524, 13.3094)
Luminance0.4605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA4A #4A4ABA
analogous
#BA824A #BABA4A #82BA4A
triadic
#BABA4A #4ABABA #BA4ABA
tetradic
#BABA4A #4ABA82 #4A4ABA #BA4A82
square
#BABA4A #4ABA82 #4A4ABA #BA4A82
split-complementary
#BABA4A #4A82BA #824ABA
monochromatic
#646426 #909037 #BABA4A #CBCB76 #DCDCA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABA4A#FFFFFF#000000##000000
##BABA4A1.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)
#C8B33D
Deuteranopia (green-blind)
#CAB751
Tritanopia (blue-blind)
#C6AFA2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #baba4a;
/* rgb */ color: rgb(186, 186, 74);
/* oklch */ color: oklch(76.7% 0.134 109.2);
Tailwind
colors: {
  custom: {
    50: '#d1ce81',
    500: '#baba4a',
    950: '#000000',
  },
}
SCSS
$custom: #baba4a;
$custom-light: #d1ce81;
$custom-dark: #000000;
JSON
{
  "hex": "#baba4a",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 74
  },
  "hsl": {
    "h": 60,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76726,
    "c": 0.13372,
    "h": 109.2
  },
  "luminance": 0.46051
}

Semantic roles & 50–950 ramp

primary
#BABA4A
secondary
#9797C9
accent
#53D553
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BABA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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