#BABA4C#BABA4C

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

Color values

HEX#BABA4C
RGBrgb(186, 186, 76)
HSLhsl(60, 44%, 51%)
HSVhsv(60, 59%, 73%)
CMYKcmyk(0%, 0%, 59.1%, 27.1%)
CIE-LABlab(73.60, -14.29, 54.33)
CIE-LCHlch(73.60, 56.18, 104.73°)
OKLaboklab(76.74% -0.0433 0.1248)
OKLCHoklch(76.74% 0.132 109.1)
XYZxyz(39.1143, 46.0798, 13.6699)
Luminance0.4608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA4C #4C4CBA
analogous
#BA834C #BABA4C #83BA4C
triadic
#BABA4C #4CBABA #BA4CBA
tetradic
#BABA4C #4CBA83 #4C4CBA #BA4C83
square
#BABA4C #4CBA83 #4C4CBA #BA4C83
split-complementary
#BABA4C #4C83BA #834CBA
monochromatic
#656527 #919138 #BABA4C #CBCB78 #DCDCA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #baba4c;
/* rgb */ color: rgb(186, 186, 76);
/* oklch */ color: oklch(76.7% 0.132 109.1);
Tailwind
colors: {
  custom: {
    50: '#d1ce82',
    500: '#baba4c',
    950: '#000000',
  },
}
SCSS
$custom: #baba4c;
$custom-light: #d1ce82;
$custom-dark: #000000;
JSON
{
  "hex": "#baba4c",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 76
  },
  "hsl": {
    "h": 60,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.76745,
    "c": 0.13205,
    "h": 109.1
  },
  "luminance": 0.46079
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BABA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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