#BABB47#BABB47

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

Color values

HEX#BABB47
RGBrgb(186, 187, 71)
HSLhsl(61, 46%, 51%)
HSVhsv(61, 62%, 73%)
CMYKcmyk(0.5%, 0%, 62%, 26.7%)
CIE-LABlab(73.83, -15.14, 56.75)
CIE-LCHlch(73.83, 58.73, 104.94°)
OKLaboklab(76.92% -0.0463 0.1292)
OKLCHoklch(76.92% 0.137 109.7)
XYZxyz(39.1585, 46.4357, 12.8602)
Luminance0.4643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB47 #4847BB
analogous
#BB8247 #BABB47 #80BB47
triadic
#BABB47 #47BABB #BB47BA
tetradic
#BABB47 #47BB82 #4847BB #BB4780
square
#BABB47 #47BB82 #4847BB #BB4780
split-complementary
#BABB47 #4780BB #8247BB
monochromatic
#626325 #8F9035 #BABB47 #CBCC74 #DCDCA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABB47#FFFFFF#000000##000000
##BABB471.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)
#C9B339
Deuteranopia (green-blind)
#CAB74E
Tritanopia (blue-blind)
#C6B0A3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #babb47;
/* rgb */ color: rgb(186, 187, 71);
/* oklch */ color: oklch(76.9% 0.137 109.7);
Tailwind
colors: {
  custom: {
    50: '#d2cf80',
    500: '#babb47',
    950: '#000000',
  },
}
SCSS
$custom: #babb47;
$custom-light: #d2cf80;
$custom-dark: #000000;
JSON
{
  "hex": "#babb47",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 71
  },
  "hsl": {
    "h": 60.517,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76915,
    "c": 0.13721,
    "h": 109.7
  },
  "luminance": 0.46435
}

Semantic roles & 50–950 ramp

primary
#BABB47
secondary
#9695C9
accent
#52D653
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #BABB47

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

Preview Lab → · Contrast checker → · Palette generator →

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