#BABB53#BABB53

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

Color values

HEX#BABB53
RGBrgb(186, 187, 83)
HSLhsl(61, 43%, 53%)
HSVhsv(61, 56%, 73%)
CMYKcmyk(0.5%, 0%, 55.6%, 26.7%)
CIE-LABlab(73.94, -14.27, 51.56)
CIE-LCHlch(73.94, 53.50, 105.47°)
OKLaboklab(77.04% -0.0425 0.1197)
OKLCHoklch(77.04% 0.127 109.6)
XYZxyz(39.5824, 46.6053, 15.0926)
Luminance0.4660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB53 #5453BB
analogous
#BB8853 #BABB53 #86BB53
triadic
#BABB53 #53BABB #BB53BA
tetradic
#BABB53 #53BB88 #5453BB #BB5386
square
#BABB53 #53BB88 #5453BB #BB5386
split-complementary
#BABB53 #5386BB #8853BB
monochromatic
#696A2A #95963B #BABB53 #CCCC7F #DDDEAB

Accessibility & contrast

On white

2.03
#BABB53 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABB53#FFFFFF#000000##000000
##BABB531.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #babb53;
/* rgb */ color: rgb(186, 187, 83);
/* oklch */ color: oklch(77.0% 0.127 109.6);
Tailwind
colors: {
  custom: {
    50: '#d1cf87',
    500: '#babb53',
    950: '#000000',
  },
}
SCSS
$custom: #babb53;
$custom-light: #d1cf87;
$custom-dark: #000000;
JSON
{
  "hex": "#babb53",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 83
  },
  "hsl": {
    "h": 60.577,
    "s": 43.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77037,
    "c": 0.12702,
    "h": 109.6
  },
  "luminance": 0.46604
}

Semantic roles & 50–950 ramp

primary
#BABB53
secondary
#9F9ECB
accent
#55D356
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #BABB53

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

Preview Lab → · Contrast checker → · Palette generator →

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