#BAB835#BAB835

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

Color values

HEX#BAB835
RGBrgb(186, 184, 53)
HSLhsl(59, 56%, 47%)
HSVhsv(59, 72%, 73%)
CMYKcmyk(0%, 1.1%, 71.5%, 27.1%)
CIE-LABlab(72.88, -14.64, 62.86)
CIE-LCHlch(72.88, 64.55, 103.11°)
OKLaboklab(76.12% -0.0467 0.1392)
OKLCHoklch(76.12% 0.147 108.6)
XYZxyz(38.0342, 44.9783, 10.0457)
Luminance0.4498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB835 #3537BA
analogous
#BA7635 #BAB835 #7ABA35
triadic
#BAB835 #35BAB8 #B835BA
tetradic
#BAB835 #35BA76 #3537BA #BA357A
square
#BAB835 #35BA76 #3537BA #BA357A
split-complementary
#BAB835 #357ABA #7635BA
monochromatic
#5B5A1A #8A8927 #BAB835 #D0CF5C #DEDD8B

Accessibility & contrast

On white

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

On black

10.00
#BAB835 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB835
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB835#FFFFFF#000000##000000
##BAB8351.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B01D
Deuteranopia (green-blind)
#C9B53F
Tritanopia (blue-blind)
#C7AC9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab835;
/* rgb */ color: rgb(186, 184, 53);
/* oklch */ color: oklch(76.1% 0.147 108.6);
Tailwind
colors: {
  custom: {
    50: '#d2cd75',
    500: '#bab835',
    950: '#000000',
  },
}
SCSS
$custom: #bab835;
$custom-light: #d2cd75;
$custom-dark: #000000;
JSON
{
  "hex": "#bab835",
  "rgb": {
    "r": 186,
    "g": 184,
    "b": 53
  },
  "hsl": {
    "h": 59.098,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76116,
    "c": 0.1468,
    "h": 108.6
  },
  "luminance": 0.44977
}

Semantic roles & 50–950 ramp

primary
#BAB835
secondary
#8284C8
accent
#4BDF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB835

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

Preview Lab → · Contrast checker → · Palette generator →

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