#BABB46#BABB46

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

Color values

HEX#BABB46
RGBrgb(186, 187, 70)
HSLhsl(61, 46%, 50%)
HSVhsv(61, 63%, 73%)
CMYKcmyk(0.5%, 0%, 62.6%, 26.7%)
CIE-LABlab(73.82, -15.20, 57.16)
CIE-LCHlch(73.82, 59.15, 104.90°)
OKLaboklab(76.91% -0.0465 0.1299)
OKLCHoklch(76.91% 0.138 109.7)
XYZxyz(39.1267, 46.4230, 12.6926)
Luminance0.4642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB46 #4746BB
analogous
#BB8146 #BABB46 #7FBB46
triadic
#BABB46 #46BABB #BB46BA
tetradic
#BABB46 #46BB81 #4746BB #BB467F
square
#BABB46 #46BB81 #4746BB #BB467F
split-complementary
#BABB46 #467FBB #8146BB
monochromatic
#626224 #8E8F35 #BABB46 #CBCB73 #DBDCA0

Accessibility & contrast

On white

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

On black

10.28
#BABB46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB46
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB46#FFFFFF#000000##000000
##BABB461.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #babb46;
/* rgb */ color: rgb(186, 187, 70);
/* oklch */ color: oklch(76.9% 0.138 109.7);
Tailwind
colors: {
  custom: {
    50: '#d2cf7f',
    500: '#babb46',
    950: '#000000',
  },
}
SCSS
$custom: #babb46;
$custom-light: #d2cf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#babb46",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 70
  },
  "hsl": {
    "h": 60.513,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76906,
    "c": 0.138,
    "h": 109.7
  },
  "luminance": 0.46422
}

Semantic roles & 50–950 ramp

primary
#BABB46
secondary
#9594C8
accent
#52D653
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #BABB46

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

Preview Lab → · Contrast checker → · Palette generator →

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