#BAB833#BAB833

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

Color values

HEX#BAB833
RGBrgb(186, 184, 51)
HSLhsl(59, 57%, 46%)
HSVhsv(59, 73%, 73%)
CMYKcmyk(0%, 1.1%, 72.6%, 27.1%)
CIE-LABlab(72.87, -14.73, 63.56)
CIE-LCHlch(72.87, 65.25, 103.05°)
OKLaboklab(76.1% -0.0472 0.1403)
OKLCHoklch(76.1% 0.148 108.6)
XYZxyz(37.9891, 44.9603, 9.8084)
Luminance0.4496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB833 #3335BA
analogous
#BA7533 #BAB833 #79BA33
triadic
#BAB833 #33BAB8 #B833BA
tetradic
#BAB833 #33BA75 #3335BA #BA3379
square
#BAB833 #33BA75 #3335BA #BA3379
split-complementary
#BAB833 #3379BA #7533BA
monochromatic
#5A5919 #8A8826 #BAB833 #D1D059 #DFDD89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB833#FFFFFF#000000##000000
##BAB8331.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)
#C7B019
Deuteranopia (green-blind)
#C9B53D
Tritanopia (blue-blind)
#C7AC9E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab833;
/* rgb */ color: rgb(186, 184, 51);
/* oklch */ color: oklch(76.1% 0.148 108.6);
Tailwind
colors: {
  custom: {
    50: '#d2cd74',
    500: '#bab833',
    950: '#000000',
  },
}
SCSS
$custom: #bab833;
$custom-light: #d2cd74;
$custom-dark: #000000;
JSON
{
  "hex": "#bab833",
  "rgb": {
    "r": 186,
    "g": 184,
    "b": 51
  },
  "hsl": {
    "h": 59.111,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76103,
    "c": 0.148,
    "h": 108.6
  },
  "luminance": 0.44959
}

Semantic roles & 50–950 ramp

primary
#BAB833
secondary
#8081C9
accent
#4AE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB833

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

Preview Lab → · Contrast checker → · Palette generator →

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