#BABB49#BABB49

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

Color values

HEX#BABB49
RGBrgb(186, 187, 73)
HSLhsl(61, 46%, 51%)
HSVhsv(61, 61%, 73%)
CMYKcmyk(0.5%, 0%, 61%, 26.7%)
CIE-LABlab(73.84, -15.00, 55.91)
CIE-LCHlch(73.84, 57.89, 105.02°)
OKLaboklab(76.93% -0.0457 0.1277)
OKLCHoklch(76.93% 0.136 109.7)
XYZxyz(39.2238, 46.4618, 13.2039)
Luminance0.4646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB49 #4A49BB
analogous
#BB8349 #BABB49 #81BB49
triadic
#BABB49 #49BABB #BB49BA
tetradic
#BABB49 #49BB83 #4A49BB #BB4981
square
#BABB49 #49BB83 #4A49BB #BB4981
split-complementary
#BABB49 #4981BB #8349BB
monochromatic
#646425 #909136 #BABB49 #CBCC76 #DCDCA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABB49#FFFFFF#000000##000000
##BABB491.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)
#C9B33B
Deuteranopia (green-blind)
#CAB750
Tritanopia (blue-blind)
#C6B0A3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #babb49;
/* rgb */ color: rgb(186, 187, 73);
/* oklch */ color: oklch(76.9% 0.136 109.7);
Tailwind
colors: {
  custom: {
    50: '#d1cf81',
    500: '#babb49',
    950: '#000000',
  },
}
SCSS
$custom: #babb49;
$custom-light: #d1cf81;
$custom-dark: #000000;
JSON
{
  "hex": "#babb49",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 73
  },
  "hsl": {
    "h": 60.526,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76934,
    "c": 0.13561,
    "h": 109.7
  },
  "luminance": 0.46461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BABB49

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

Preview Lab → · Contrast checker → · Palette generator →

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