#BAB832#BAB832

#BAB832 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.1% C 0.149 H 108.6°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#BAB832
RGBrgb(186, 184, 50)
HSLhsl(59, 58%, 46%)
HSVhsv(59, 73%, 73%)
CMYKcmyk(0%, 1.1%, 73.1%, 27.1%)
CIE-LABlab(72.86, -14.78, 63.90)
CIE-LCHlch(72.86, 65.59, 103.02°)
OKLaboklab(76.1% -0.0474 0.1408)
OKLCHoklch(76.1% 0.149 108.6)
XYZxyz(37.9673, 44.9516, 9.6935)
Luminance0.4495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB832 #3234BA
analogous
#BA7432 #BAB832 #78BA32
triadic
#BAB832 #32BAB8 #B832BA
tetradic
#BAB832 #32BA74 #3234BA #BA3278
square
#BAB832 #32BA74 #3234BA #BA3278
split-complementary
#BAB832 #3278BA #7432BA
monochromatic
#5A5918 #8A8825 #BAB832 #D2D057 #DFDE88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB832#FFFFFF#000000##000000
##BAB8321.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)
#C7B017
Deuteranopia (green-blind)
#C9B53C
Tritanopia (blue-blind)
#C7AC9E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab832;
/* rgb */ color: rgb(186, 184, 50);
/* oklch */ color: oklch(76.1% 0.149 108.6);
Tailwind
colors: {
  custom: {
    50: '#d2cd74',
    500: '#bab832',
    950: '#000000',
  },
}
SCSS
$custom: #bab832;
$custom-light: #d2cd74;
$custom-dark: #000000;
JSON
{
  "hex": "#bab832",
  "rgb": {
    "r": 186,
    "g": 184,
    "b": 50
  },
  "hsl": {
    "h": 59.118,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76096,
    "c": 0.14859,
    "h": 108.6
  },
  "luminance": 0.4495
}

Semantic roles & 50–950 ramp

primary
#BAB832
secondary
#7F80C9
accent
#49E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB832

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

Preview Lab → · Contrast checker → · Palette generator →

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