#BABB4C#BABB4C

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

Color values

HEX#BABB4C
RGBrgb(186, 187, 76)
HSLhsl(61, 45%, 52%)
HSVhsv(61, 59%, 73%)
CMYKcmyk(0.5%, 0%, 59.4%, 26.7%)
CIE-LABlab(73.87, -14.80, 54.63)
CIE-LCHlch(73.87, 56.60, 105.15°)
OKLaboklab(76.96% -0.0447 0.1254)
OKLCHoklch(76.96% 0.133 109.6)
XYZxyz(39.3257, 46.5026, 13.7404)
Luminance0.4650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB4C #4D4CBB
analogous
#BB854C #BABB4C #83BB4C
triadic
#BABB4C #4CBABB #BB4CBA
tetradic
#BABB4C #4CBB85 #4D4CBB #BB4C83
square
#BABB4C #4CBB85 #4D4CBB #BB4C83
split-complementary
#BABB4C #4C83BB #854CBB
monochromatic
#656627 #919238 #BABB4C #CBCC78 #DCDDA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABB4C#FFFFFF#000000##000000
##BABB4C1.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)
#C9B43F
Deuteranopia (green-blind)
#CAB753
Tritanopia (blue-blind)
#C6B0A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babb4c;
/* rgb */ color: rgb(186, 187, 76);
/* oklch */ color: oklch(77.0% 0.133 109.6);
Tailwind
colors: {
  custom: {
    50: '#d1cf83',
    500: '#babb4c',
    950: '#000000',
  },
}
SCSS
$custom: #babb4c;
$custom-light: #d1cf83;
$custom-dark: #000000;
JSON
{
  "hex": "#babb4c",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 76
  },
  "hsl": {
    "h": 60.541,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76963,
    "c": 0.13314,
    "h": 109.6
  },
  "luminance": 0.46502
}

Semantic roles & 50–950 ramp

primary
#BABB4C
secondary
#9999CA
accent
#53D554
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BABB4C

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

Preview Lab → · Contrast checker → · Palette generator →

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