#BABB55#BABB55

#BABB55 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.1% C 0.125 H 109.5°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#BABB55
RGBrgb(186, 187, 85)
HSLhsl(61, 43%, 53%)
HSVhsv(61, 55%, 73%)
CMYKcmyk(0.5%, 0%, 54.5%, 26.7%)
CIE-LABlab(73.96, -14.11, 50.66)
CIE-LCHlch(73.96, 52.59, 105.57°)
OKLaboklab(77.06% -0.0418 0.118)
OKLCHoklch(77.06% 0.125 109.5)
XYZxyz(39.6607, 46.6366, 15.5051)
Luminance0.4664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB55 #5655BB
analogous
#BB8955 #BABB55 #87BB55
triadic
#BABB55 #55BABB #BB55BA
tetradic
#BABB55 #55BB89 #5655BB #BB5587
square
#BABB55 #55BB89 #5655BB #BB5587
split-complementary
#BABB55 #5587BB #8955BB
monochromatic
#6A6B2B #96973C #BABB55 #CCCC81 #DDDEAC

Accessibility & contrast

On white

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

On black

10.33
#BABB55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB55
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB55#FFFFFF#000000##000000
##BABB551.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B44B
Deuteranopia (green-blind)
#C9B75B
Tritanopia (blue-blind)
#C6B1A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babb55;
/* rgb */ color: rgb(186, 187, 85);
/* oklch */ color: oklch(77.1% 0.125 109.5);
Tailwind
colors: {
  custom: {
    50: '#d1cf88',
    500: '#babb55',
    950: '#000000',
  },
}
SCSS
$custom: #babb55;
$custom-light: #d1cf88;
$custom-dark: #000000;
JSON
{
  "hex": "#babb55",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 85
  },
  "hsl": {
    "h": 60.588,
    "s": 42.857,
    "l": 53.333
  },
  "oklch": {
    "l": 0.7706,
    "c": 0.1252,
    "h": 109.5
  },
  "luminance": 0.46636
}

Semantic roles & 50–950 ramp

primary
#BABB55
secondary
#A0A0CC
accent
#55D356
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BABB55

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

Preview Lab → · Contrast checker → · Palette generator →

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