#BABB57#BABB57

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

Color values

HEX#BABB57
RGBrgb(186, 187, 87)
HSLhsl(61, 42%, 54%)
HSVhsv(61, 53%, 73%)
CMYKcmyk(0.5%, 0%, 53.5%, 26.7%)
CIE-LABlab(73.98, -13.95, 49.75)
CIE-LCHlch(73.98, 51.67, 105.66°)
OKLaboklab(77.08% -0.0412 0.1163)
OKLCHoklch(77.08% 0.123 109.5)
XYZxyz(39.7413, 46.6688, 15.9295)
Luminance0.4667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB57 #5857BB
analogous
#BB8A57 #BABB57 #88BB57
triadic
#BABB57 #57BABB #BB57BA
tetradic
#BABB57 #57BB8A #5857BB #BB5788
square
#BABB57 #57BB8A #5857BB #BB5788
split-complementary
#BABB57 #5788BB #8A57BB
monochromatic
#6B6C2C #97973D #BABB57 #CCCD83 #DEDEAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABB57#FFFFFF#000000##000000
##BABB571.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)
#C8B44D
Deuteranopia (green-blind)
#C9B75C
Tritanopia (blue-blind)
#C5B1A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #babb57;
/* rgb */ color: rgb(186, 187, 87);
/* oklch */ color: oklch(77.1% 0.123 109.5);
Tailwind
colors: {
  custom: {
    50: '#d1cf89',
    500: '#babb57',
    950: '#000000',
  },
}
SCSS
$custom: #babb57;
$custom-light: #d1cf89;
$custom-dark: #000000;
JSON
{
  "hex": "#babb57",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 87
  },
  "hsl": {
    "h": 60.6,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77083,
    "c": 0.12333,
    "h": 109.5
  },
  "luminance": 0.46668
}

Semantic roles & 50–950 ramp

primary
#BABB57
secondary
#A2A2CC
accent
#56D257
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BABB57

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

Preview Lab → · Contrast checker → · Palette generator →

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