#BAB650#BAB650

#BAB650 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.9% C 0.124 H 106.9°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#BAB650
RGBrgb(186, 182, 80)
HSLhsl(58, 43%, 52%)
HSVhsv(58, 57%, 73%)
CMYKcmyk(0%, 2.2%, 57%, 27.1%)
CIE-LABlab(72.55, -11.94, 51.36)
CIE-LCHlch(72.55, 52.73, 103.09°)
OKLaboklab(75.92% -0.0362 0.1189)
OKLCHoklch(75.92% 0.124 106.9)
XYZxyz(38.4268, 44.4753, 14.1483)
Luminance0.4447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB650 #5054BA
analogous
#BA8150 #BAB650 #89BA50
triadic
#BAB650 #50BAB6 #B650BA
tetradic
#BAB650 #50BA81 #5054BA #BA5089
square
#BAB650 #50BA81 #5054BA #BA5089
split-complementary
#BAB650 #5089BA #8150BA
monochromatic
#676529 #93903A #BAB650 #CBC87C #DDDBA8

Accessibility & contrast

On white

2.12
#BAB650 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#BAB650 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB650
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB650#FFFFFF#000000##000000
##BAB6501.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B045
Deuteranopia (green-blind)
#C6B456
Tritanopia (blue-blind)
#C6ABA0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab650;
/* rgb */ color: rgb(186, 182, 80);
/* oklch */ color: oklch(75.9% 0.124 106.9);
Tailwind
colors: {
  custom: {
    50: '#d1cb85',
    500: '#bab650',
    950: '#000000',
  },
}
SCSS
$custom: #bab650;
$custom-light: #d1cb85;
$custom-dark: #000000;
JSON
{
  "hex": "#bab650",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 80
  },
  "hsl": {
    "h": 57.736,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75919,
    "c": 0.12432,
    "h": 106.9
  },
  "luminance": 0.44474
}

Semantic roles & 50–950 ramp

primary
#BAB650
secondary
#9C9ECA
accent
#59D355
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB650

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

Preview Lab → · Contrast checker → · Palette generator →

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