#BABA47#BABA47

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

Color values

HEX#BABA47
RGBrgb(186, 186, 71)
HSLhsl(60, 45%, 50%)
HSVhsv(60, 62%, 73%)
CMYKcmyk(0%, 0%, 61.8%, 27.1%)
CIE-LABlab(73.55, -14.63, 56.45)
CIE-LCHlch(73.55, 58.32, 104.53°)
OKLaboklab(76.7% -0.0448 0.1286)
OKLCHoklch(76.7% 0.136 109.2)
XYZxyz(38.9471, 46.0129, 12.7898)
Luminance0.4601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA47 #4747BA
analogous
#BA8047 #BABA47 #80BA47
triadic
#BABA47 #47BABA #BA47BA
tetradic
#BABA47 #47BA80 #4747BA #BA4780
square
#BABA47 #47BA80 #4747BA #BA4780
split-complementary
#BABA47 #4780BA #8047BA
monochromatic
#626225 #8E8E35 #BABA47 #CBCB74 #DBDBA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABA47#FFFFFF#000000##000000
##BABA471.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)
#C8B339
Deuteranopia (green-blind)
#CAB74E
Tritanopia (blue-blind)
#C6AFA2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #baba47;
/* rgb */ color: rgb(186, 186, 71);
/* oklch */ color: oklch(76.7% 0.136 109.2);
Tailwind
colors: {
  custom: {
    50: '#d2ce7f',
    500: '#baba47',
    950: '#000000',
  },
}
SCSS
$custom: #baba47;
$custom-light: #d2ce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#baba47",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 71
  },
  "hsl": {
    "h": 60,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76697,
    "c": 0.13615,
    "h": 109.2
  },
  "luminance": 0.46012
}

Semantic roles & 50–950 ramp

primary
#BABA47
secondary
#9595C8
accent
#53D553
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #BABA47

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

Preview Lab → · Contrast checker → · Palette generator →

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