#BABA46#BABA46

#BABA46 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.7% C 0.137 H 109.2°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#BABA46
RGBrgb(186, 186, 70)
HSLhsl(60, 46%, 50%)
HSVhsv(60, 62%, 73%)
CMYKcmyk(0%, 0%, 62.4%, 27.1%)
CIE-LABlab(73.55, -14.70, 56.87)
CIE-LCHlch(73.55, 58.74, 104.49°)
OKLaboklab(76.69% -0.0451 0.1293)
OKLCHoklch(76.69% 0.137 109.2)
XYZxyz(38.9153, 46.0002, 12.6221)
Luminance0.4600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA46 #4646BA
analogous
#BA8046 #BABA46 #80BA46
triadic
#BABA46 #46BABA #BA46BA
tetradic
#BABA46 #46BA80 #4646BA #BA4680
square
#BABA46 #46BA80 #4646BA #BA4680
split-complementary
#BABA46 #4680BA #8046BA
monochromatic
#616124 #8E8E35 #BABA46 #CBCB73 #DBDB9F

Accessibility & contrast

On white

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

On black

10.20
#BABA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA46
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA46#FFFFFF#000000##000000
##BABA461.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B338
Deuteranopia (green-blind)
#CAB64D
Tritanopia (blue-blind)
#C6AFA2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #baba46;
/* rgb */ color: rgb(186, 186, 70);
/* oklch */ color: oklch(76.7% 0.137 109.2);
Tailwind
colors: {
  custom: {
    50: '#d2ce7f',
    500: '#baba46',
    950: '#000000',
  },
}
SCSS
$custom: #baba46;
$custom-light: #d2ce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#baba46",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 70
  },
  "hsl": {
    "h": 60,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76688,
    "c": 0.13695,
    "h": 109.2
  },
  "luminance": 0.45999
}

Semantic roles & 50–950 ramp

primary
#BABA46
secondary
#9494C8
accent
#52D552
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #BABA46

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

Preview Lab → · Contrast checker → · Palette generator →

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