#BABB45#BABB45

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

Color values

HEX#BABB45
RGBrgb(186, 187, 69)
HSLhsl(61, 46%, 50%)
HSVhsv(61, 63%, 73%)
CMYKcmyk(0.5%, 0%, 63.1%, 26.7%)
CIE-LABlab(73.81, -15.27, 57.57)
CIE-LCHlch(73.81, 59.56, 104.85°)
OKLaboklab(76.9% -0.0468 0.1306)
OKLCHoklch(76.9% 0.139 109.7)
XYZxyz(39.0954, 46.4105, 12.5278)
Luminance0.4641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB45 #4645BB
analogous
#BB8145 #BABB45 #7FBB45
triadic
#BABB45 #45BABB #BB45BA
tetradic
#BABB45 #45BB81 #4645BB #BB457F
square
#BABB45 #45BB81 #4645BB #BB457F
split-complementary
#BABB45 #457FBB #8145BB
monochromatic
#616224 #8E8F34 #BABB45 #CBCB72 #DBDC9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABB45#FFFFFF#000000##000000
##BABB451.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)
#C9B336
Deuteranopia (green-blind)
#CBB74C
Tritanopia (blue-blind)
#C6B0A3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #babb45;
/* rgb */ color: rgb(186, 187, 69);
/* oklch */ color: oklch(76.9% 0.139 109.7);
Tailwind
colors: {
  custom: {
    50: '#d2cf7e',
    500: '#babb45',
    950: '#000000',
  },
}
SCSS
$custom: #babb45;
$custom-light: #d2cf7e;
$custom-dark: #000000;
JSON
{
  "hex": "#babb45",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 69
  },
  "hsl": {
    "h": 60.508,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76897,
    "c": 0.13877,
    "h": 109.7
  },
  "luminance": 0.46409
}

Semantic roles & 50–950 ramp

primary
#BABB45
secondary
#9494C8
accent
#52D653
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BABB45

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

Preview Lab → · Contrast checker → · Palette generator →

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