#BAB735#BAB735

#BAB735 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.9% C 0.146 H 108.1°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#BAB735
RGBrgb(186, 183, 53)
HSLhsl(59, 56%, 47%)
HSVhsv(59, 72%, 73%)
CMYKcmyk(0%, 1.6%, 71.5%, 27.1%)
CIE-LABlab(72.60, -14.13, 62.60)
CIE-LCHlch(72.60, 64.18, 102.72°)
OKLaboklab(75.9% -0.0453 0.1386)
OKLCHoklch(75.9% 0.146 108.1)
XYZxyz(37.8272, 44.5643, 9.9767)
Luminance0.4456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB735 #3538BA
analogous
#BA7535 #BAB735 #7ABA35
triadic
#BAB735 #35BAB7 #B735BA
tetradic
#BAB735 #35BA75 #3538BA #BA357A
square
#BAB735 #35BA75 #3538BA #BA357A
split-complementary
#BAB735 #357ABA #7535BA
monochromatic
#5B591A #8A8827 #BAB735 #D0CE5C #DEDC8B

Accessibility & contrast

On white

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

On black

9.91
#BAB735 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB735
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB735#FFFFFF#000000##000000
##BAB7351.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B01E
Deuteranopia (green-blind)
#C8B43F
Tritanopia (blue-blind)
#C7AB9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab735;
/* rgb */ color: rgb(186, 183, 53);
/* oklch */ color: oklch(75.9% 0.146 108.1);
Tailwind
colors: {
  custom: {
    50: '#d2cc75',
    500: '#bab735',
    950: '#000000',
  },
}
SCSS
$custom: #bab735;
$custom-light: #d2cc75;
$custom-dark: #000000;
JSON
{
  "hex": "#bab735",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 53
  },
  "hsl": {
    "h": 58.647,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75898,
    "c": 0.14582,
    "h": 108.1
  },
  "luminance": 0.44563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAB735

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

Preview Lab → · Contrast checker → · Palette generator →

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