#BABB52#BABB52

#BABB52 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.0% C 0.128 H 109.6°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#BABB52
RGBrgb(186, 187, 82)
HSLhsl(61, 44%, 53%)
HSVhsv(61, 56%, 73%)
CMYKcmyk(0.5%, 0%, 56.1%, 26.7%)
CIE-LABlab(73.93, -14.35, 52.00)
CIE-LCHlch(73.93, 53.95, 105.43°)
OKLaboklab(77.03% -0.0428 0.1205)
OKLCHoklch(77.03% 0.128 109.6)
XYZxyz(39.5441, 46.5899, 14.8907)
Luminance0.4659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB52 #5352BB
analogous
#BB8752 #BABB52 #86BB52
triadic
#BABB52 #52BABB #BB52BA
tetradic
#BABB52 #52BB87 #5352BB #BB5286
square
#BABB52 #52BB87 #5352BB #BB5286
split-complementary
#BABB52 #5286BB #8752BB
monochromatic
#696929 #94953B #BABB52 #CCCC7E #DDDEAA

Accessibility & contrast

On white

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

On black

10.32
#BABB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB52
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB52#FFFFFF#000000##000000
##BABB521.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B447
Deuteranopia (green-blind)
#CAB758
Tritanopia (blue-blind)
#C6B0A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babb52;
/* rgb */ color: rgb(186, 187, 82);
/* oklch */ color: oklch(77.0% 0.128 109.6);
Tailwind
colors: {
  custom: {
    50: '#d1cf86',
    500: '#babb52',
    950: '#000000',
  },
}
SCSS
$custom: #babb52;
$custom-light: #d1cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#babb52",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 60.571,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77026,
    "c": 0.12793,
    "h": 109.6
  },
  "luminance": 0.46589
}

Semantic roles & 50–950 ramp

primary
#BABB52
secondary
#9E9ECB
accent
#54D356
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #BABB52

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

Preview Lab → · Contrast checker → · Palette generator →

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