#BAB435#BAB435

#BAB435 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.2% C 0.143 H 106.7°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#BAB435
RGBrgb(186, 180, 53)
HSLhsl(57, 56%, 47%)
HSVhsv(57, 72%, 73%)
CMYKcmyk(0%, 3.2%, 71.5%, 27.1%)
CIE-LABlab(71.79, -12.60, 61.81)
CIE-LCHlch(71.79, 63.08, 101.52°)
OKLaboklab(75.24% -0.041 0.1369)
OKLCHoklch(75.24% 0.143 106.7)
XYZxyz(37.2150, 43.3400, 9.7726)
Luminance0.4334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB435 #353BBA
analogous
#BA7235 #BAB435 #7EBA35
triadic
#BAB435 #35BAB4 #B435BA
tetradic
#BAB435 #35BA72 #353BBA #BA357E
square
#BAB435 #35BA72 #353BBA #BA357E
split-complementary
#BAB435 #357EBA #7235BA
monochromatic
#5B581A #8A8627 #BAB435 #D0CB5C #DEDA8B

Accessibility & contrast

On white

2.17
#BAB435 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#BAB435 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB435
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB435#FFFFFF#000000##000000
##BAB4351.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD1F
Deuteranopia (green-blind)
#C6B23E
Tritanopia (blue-blind)
#C8A89B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab435;
/* rgb */ color: rgb(186, 180, 53);
/* oklch */ color: oklch(75.2% 0.143 106.7);
Tailwind
colors: {
  custom: {
    50: '#d2ca75',
    500: '#bab435',
    950: '#000000',
  },
}
SCSS
$custom: #bab435;
$custom-light: #d2ca75;
$custom-dark: #000000;
JSON
{
  "hex": "#bab435",
  "rgb": {
    "r": 186,
    "g": 180,
    "b": 53
  },
  "hsl": {
    "h": 57.293,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75244,
    "c": 0.14294,
    "h": 106.7
  },
  "luminance": 0.43339
}

Semantic roles & 50–950 ramp

primary
#BAB435
secondary
#8286C8
accent
#50DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB435

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

Preview Lab → · Contrast checker → · Palette generator →

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