#BABA35#BABA35

#BABA35 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.6% C 0.149 H 109.5°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#BABA35
RGBrgb(186, 186, 53)
HSLhsl(60, 56%, 47%)
HSVhsv(60, 72%, 73%)
CMYKcmyk(0%, 0%, 71.5%, 27.1%)
CIE-LABlab(73.43, -15.66, 63.39)
CIE-LCHlch(73.43, 65.30, 103.87°)
OKLaboklab(76.55% -0.0495 0.1403)
OKLCHoklch(76.55% 0.149 109.5)
XYZxyz(38.4526, 45.8151, 10.1851)
Luminance0.4581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA35 #3535BA
analogous
#BA7835 #BABA35 #78BA35
triadic
#BABA35 #35BABA #BA35BA
tetradic
#BABA35 #35BA78 #3535BA #BA3578
square
#BABA35 #35BA78 #3535BA #BA3578
split-complementary
#BABA35 #3578BA #7835BA
monochromatic
#5B5B1A #8A8A27 #BABA35 #D0D05C #DEDE8B

Accessibility & contrast

On white

2.07
#BABA35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#BABA35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA35
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA35#FFFFFF#000000##000000
##BABA351.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B21C
Deuteranopia (green-blind)
#CBB63F
Tritanopia (blue-blind)
#C7AEA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #baba35;
/* rgb */ color: rgb(186, 186, 53);
/* oklch */ color: oklch(76.6% 0.149 109.5);
Tailwind
colors: {
  custom: {
    50: '#d2ce76',
    500: '#baba35',
    950: '#000000',
  },
}
SCSS
$custom: #baba35;
$custom-light: #d2ce76;
$custom-dark: #000000;
JSON
{
  "hex": "#baba35",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 53
  },
  "hsl": {
    "h": 60,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76553,
    "c": 0.14878,
    "h": 109.5
  },
  "luminance": 0.45814
}

Semantic roles & 50–950 ramp

primary
#BABA35
secondary
#8282C8
accent
#49DF49
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BABA35

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

Preview Lab → · Contrast checker → · Palette generator →

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