#BABB43#BABB43

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

Color values

HEX#BABB43
RGBrgb(186, 187, 67)
HSLhsl(61, 47%, 50%)
HSVhsv(61, 64%, 73%)
CMYKcmyk(0.5%, 0%, 64.2%, 26.7%)
CIE-LABlab(73.80, -15.39, 58.38)
CIE-LCHlch(73.80, 60.38, 104.77°)
OKLaboklab(76.88% -0.0474 0.132)
OKLCHoklch(76.88% 0.14 109.8)
XYZxyz(39.0344, 46.3861, 12.2063)
Luminance0.4638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB43 #4443BB
analogous
#BB8043 #BABB43 #7EBB43
triadic
#BABB43 #43BABB #BB43BA
tetradic
#BABB43 #43BB80 #4443BB #BB437E
square
#BABB43 #43BB80 #4443BB #BB437E
split-complementary
#BABB43 #437EBB #8043BB
monochromatic
#606123 #8D8E33 #BABB43 #CBCC70 #DBDC9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABB43#FFFFFF#000000##000000
##BABB431.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)
#C9B333
Deuteranopia (green-blind)
#CBB74B
Tritanopia (blue-blind)
#C7B0A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #babb43;
/* rgb */ color: rgb(186, 187, 67);
/* oklch */ color: oklch(76.9% 0.140 109.8);
Tailwind
colors: {
  custom: {
    50: '#d2cf7d',
    500: '#babb43',
    950: '#000000',
  },
}
SCSS
$custom: #babb43;
$custom-light: #d2cf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#babb43",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 67
  },
  "hsl": {
    "h": 60.5,
    "s": 47.244,
    "l": 49.804
  },
  "oklch": {
    "l": 0.76879,
    "c": 0.14029,
    "h": 109.8
  },
  "luminance": 0.46385
}

Semantic roles & 50–950 ramp

primary
#BABB43
secondary
#9292C8
accent
#51D752
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BABB43

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

Preview Lab → · Contrast checker → · Palette generator →

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