#BAB754#BAB754

#BAB754 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.2% C 0.122 H 107.4°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#BAB754
RGBrgb(186, 183, 84)
HSLhsl(58, 43%, 53%)
HSVhsv(58, 55%, 73%)
CMYKcmyk(0%, 1.6%, 54.8%, 27.1%)
CIE-LABlab(72.86, -12.15, 49.87)
CIE-LCHlch(72.86, 51.32, 103.69°)
OKLaboklab(76.18% -0.0363 0.1162)
OKLCHoklch(76.18% 0.122 107.4)
XYZxyz(38.7845, 44.9473, 15.0184)
Luminance0.4495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB754 #5457BA
analogous
#BA8454 #BAB754 #8ABA54
triadic
#BAB754 #54BAB7 #B754BA
tetradic
#BAB754 #54BA84 #5457BA #BA548A
square
#BAB754 #54BA84 #5457BA #BA548A
split-complementary
#BAB754 #548ABA #8454BA
monochromatic
#69672A #95923C #BAB754 #CCC980 #DDDCAB

Accessibility & contrast

On white

2.10
#BAB754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#BAB754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB754
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB754#FFFFFF#000000##000000
##BAB7541.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B14A
Deuteranopia (green-blind)
#C6B559
Tritanopia (blue-blind)
#C6ADA1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab754;
/* rgb */ color: rgb(186, 183, 84);
/* oklch */ color: oklch(76.2% 0.122 107.4);
Tailwind
colors: {
  custom: {
    50: '#d1cc87',
    500: '#bab754',
    950: '#000000',
  },
}
SCSS
$custom: #bab754;
$custom-light: #d1cc87;
$custom-dark: #000000;
JSON
{
  "hex": "#bab754",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 84
  },
  "hsl": {
    "h": 58.235,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.7618,
    "c": 0.12174,
    "h": 107.4
  },
  "luminance": 0.44946
}

Semantic roles & 50–950 ramp

primary
#BAB754
secondary
#9FA0CB
accent
#59D256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB754

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

Preview Lab → · Contrast checker → · Palette generator →

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