#BABA33#BABA33

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

Color values

HEX#BABA33
RGBrgb(186, 186, 51)
HSLhsl(60, 57%, 46%)
HSVhsv(60, 73%, 73%)
CMYKcmyk(0%, 0%, 72.6%, 27.1%)
CIE-LABlab(73.41, -15.75, 64.08)
CIE-LCHlch(73.41, 65.99, 103.81°)
OKLaboklab(76.54% -0.05 0.1414)
OKLCHoklch(76.54% 0.15 109.5)
XYZxyz(38.4075, 45.7971, 9.9479)
Luminance0.4580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA33 #3333BA
analogous
#BA7733 #BABA33 #77BA33
triadic
#BABA33 #33BABA #BA33BA
tetradic
#BABA33 #33BA77 #3333BA #BA3377
square
#BABA33 #33BA77 #3333BA #BA3377
split-complementary
#BABA33 #3377BA #7733BA
monochromatic
#5A5A19 #8A8A26 #BABA33 #D1D159 #DFDF89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABA33#FFFFFF#000000##000000
##BABA331.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)
#C9B218
Deuteranopia (green-blind)
#CBB63D
Tritanopia (blue-blind)
#C7AEA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #baba33;
/* rgb */ color: rgb(186, 186, 51);
/* oklch */ color: oklch(76.5% 0.150 109.5);
Tailwind
colors: {
  custom: {
    50: '#d2ce75',
    500: '#baba33',
    950: '#000000',
  },
}
SCSS
$custom: #baba33;
$custom-light: #d2ce75;
$custom-dark: #000000;
JSON
{
  "hex": "#baba33",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 51
  },
  "hsl": {
    "h": 60,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7654,
    "c": 0.14997,
    "h": 109.5
  },
  "luminance": 0.45796
}

Semantic roles & 50–950 ramp

primary
#BABA33
secondary
#8080C9
accent
#48E048
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BABA33

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

Preview Lab → · Contrast checker → · Palette generator →

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