#BABA3B#BABA3B

#BABA3B is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.6% C 0.145 H 109.4°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#BABA3B
RGBrgb(186, 186, 59)
HSLhsl(60, 52%, 48%)
HSVhsv(60, 68%, 73%)
CMYKcmyk(0%, 0%, 68.3%, 27.1%)
CIE-LABlab(73.46, -15.35, 61.22)
CIE-LCHlch(73.46, 63.11, 104.08°)
OKLaboklab(76.6% -0.0481 0.1367)
OKLCHoklch(76.6% 0.145 109.4)
XYZxyz(38.5993, 45.8738, 10.9581)
Luminance0.4587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA3B #3B3BBA
analogous
#BA7A3B #BABA3B #7ABA3B
triadic
#BABA3B #3BBABA #BA3BBA
tetradic
#BABA3B #3BBA7A #3B3BBA #BA3B7A
square
#BABA3B #3BBA7A #3B3BBA #BA3B7A
split-complementary
#BABA3B #3B7ABA #7A3BBA
monochromatic
#5D5D1E #8C8C2C #BABA3B #CECE64 #DDDD93

Accessibility & contrast

On white

2.06
#BABA3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#BABA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA3B
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA3B#FFFFFF#000000##000000
##BABA3B1.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B227
Deuteranopia (green-blind)
#CAB644
Tritanopia (blue-blind)
#C7AEA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #baba3b;
/* rgb */ color: rgb(186, 186, 59);
/* oklch */ color: oklch(76.6% 0.145 109.4);
Tailwind
colors: {
  custom: {
    50: '#d2ce79',
    500: '#baba3b',
    950: '#000000',
  },
}
SCSS
$custom: #baba3b;
$custom-light: #d2ce79;
$custom-dark: #000000;
JSON
{
  "hex": "#baba3b",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 59
  },
  "hsl": {
    "h": 60,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76596,
    "c": 0.14495,
    "h": 109.4
  },
  "luminance": 0.45873
}

Semantic roles & 50–950 ramp

primary
#BABA3B
secondary
#8989C8
accent
#4DDB4D
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #BABA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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