#BABB4A#BABB4A

#BABB4A is a light, vivid yellow. Relative luminance 0.465; OKLCH L 76.9% C 0.135 H 109.7°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#BABB4A
RGBrgb(186, 187, 74)
HSLhsl(61, 45%, 51%)
HSVhsv(61, 60%, 73%)
CMYKcmyk(0.5%, 0%, 60.4%, 26.7%)
CIE-LABlab(73.85, -14.94, 55.49)
CIE-LCHlch(73.85, 57.46, 105.07°)
OKLaboklab(76.94% -0.0454 0.1269)
OKLCHoklch(76.94% 0.135 109.7)
XYZxyz(39.2572, 46.4752, 13.3799)
Luminance0.4647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB4A #4B4ABB
analogous
#BB834A #BABB4A #81BB4A
triadic
#BABB4A #4ABABB #BB4ABA
tetradic
#BABB4A #4ABB83 #4B4ABB #BB4A81
square
#BABB4A #4ABB83 #4B4ABB #BB4A81
split-complementary
#BABB4A #4A81BB #834ABB
monochromatic
#646526 #909137 #BABB4A #CBCC76 #DCDCA3

Accessibility & contrast

On white

2.04
#BABB4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#BABB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB4A
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB4A#FFFFFF#000000##000000
##BABB4A1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B43D
Deuteranopia (green-blind)
#CAB751
Tritanopia (blue-blind)
#C6B0A3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #babb4a;
/* rgb */ color: rgb(186, 187, 74);
/* oklch */ color: oklch(76.9% 0.135 109.7);
Tailwind
colors: {
  custom: {
    50: '#d1cf81',
    500: '#babb4a',
    950: '#000000',
  },
}
SCSS
$custom: #babb4a;
$custom-light: #d1cf81;
$custom-dark: #000000;
JSON
{
  "hex": "#babb4a",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 74
  },
  "hsl": {
    "h": 60.531,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76944,
    "c": 0.13479,
    "h": 109.7
  },
  "luminance": 0.46474
}

Semantic roles & 50–950 ramp

primary
#BABB4A
secondary
#9897C9
accent
#53D554
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BABB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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