#BABB4D#BABB4D

#BABB4D is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.0% C 0.132 H 109.6°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#BABB4D
RGBrgb(186, 187, 77)
HSLhsl(61, 45%, 52%)
HSVhsv(61, 59%, 73%)
CMYKcmyk(0.5%, 0%, 58.8%, 26.7%)
CIE-LABlab(73.88, -14.72, 54.20)
CIE-LCHlch(73.88, 56.16, 105.20°)
OKLaboklab(76.97% -0.0444 0.1246)
OKLCHoklch(76.97% 0.132 109.6)
XYZxyz(39.3607, 46.5166, 13.9249)
Luminance0.4652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB4D #4E4DBB
analogous
#BB854D #BABB4D #83BB4D
triadic
#BABB4D #4DBABB #BB4DBA
tetradic
#BABB4D #4DBB85 #4E4DBB #BB4D83
square
#BABB4D #4DBB85 #4E4DBB #BB4D83
split-complementary
#BABB4D #4D83BB #854DBB
monochromatic
#666627 #929338 #BABB4D #CBCC79 #DCDDA6

Accessibility & contrast

On white

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

On black

10.30
#BABB4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB4D
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB4D#FFFFFF#000000##000000
##BABB4D1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B441
Deuteranopia (green-blind)
#CAB753
Tritanopia (blue-blind)
#C6B0A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babb4d;
/* rgb */ color: rgb(186, 187, 77);
/* oklch */ color: oklch(77.0% 0.132 109.6);
Tailwind
colors: {
  custom: {
    50: '#d1cf83',
    500: '#babb4d',
    950: '#000000',
  },
}
SCSS
$custom: #babb4d;
$custom-light: #d1cf83;
$custom-dark: #000000;
JSON
{
  "hex": "#babb4d",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 77
  },
  "hsl": {
    "h": 60.545,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76973,
    "c": 0.13229,
    "h": 109.6
  },
  "luminance": 0.46516
}

Semantic roles & 50–950 ramp

primary
#BABB4D
secondary
#9A9ACA
accent
#53D455
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BABB4D

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

Preview Lab → · Contrast checker → · Palette generator →

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