#BABB44#BABB44

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

Color values

HEX#BABB44
RGBrgb(186, 187, 68)
HSLhsl(61, 47%, 50%)
HSVhsv(61, 64%, 73%)
CMYKcmyk(0.5%, 0%, 63.6%, 26.7%)
CIE-LABlab(73.80, -15.33, 57.98)
CIE-LCHlch(73.80, 59.97, 104.81°)
OKLaboklab(76.89% -0.0471 0.1313)
OKLCHoklch(76.89% 0.14 109.7)
XYZxyz(39.0646, 46.3982, 12.3657)
Luminance0.4640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB44 #4544BB
analogous
#BB8044 #BABB44 #7FBB44
triadic
#BABB44 #44BABB #BB44BA
tetradic
#BABB44 #44BB80 #4544BB #BB447F
square
#BABB44 #44BB80 #4544BB #BB447F
split-complementary
#BABB44 #447FBB #8044BB
monochromatic
#616123 #8D8E34 #BABB44 #CBCB71 #DBDC9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABB44#FFFFFF#000000##000000
##BABB441.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)
#C9B335
Deuteranopia (green-blind)
#CBB74C
Tritanopia (blue-blind)
#C7B0A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #babb44;
/* rgb */ color: rgb(186, 187, 68);
/* oklch */ color: oklch(76.9% 0.140 109.7);
Tailwind
colors: {
  custom: {
    50: '#d2cf7e',
    500: '#babb44',
    950: '#000000',
  },
}
SCSS
$custom: #babb44;
$custom-light: #d2cf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#babb44",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 68
  },
  "hsl": {
    "h": 60.504,
    "s": 46.667,
    "l": 50
  },
  "oklch": {
    "l": 0.76888,
    "c": 0.13954,
    "h": 109.7
  },
  "luminance": 0.46397
}

Semantic roles & 50–950 ramp

primary
#BABB44
secondary
#9393C8
accent
#51D653
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BABB44

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

Preview Lab → · Contrast checker → · Palette generator →

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