#BABA37#BABA37

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

Color values

HEX#BABA37
RGBrgb(186, 186, 55)
HSLhsl(60, 54%, 47%)
HSVhsv(60, 70%, 73%)
CMYKcmyk(0%, 0%, 70.4%, 27.1%)
CIE-LABlab(73.44, -15.56, 62.68)
CIE-LCHlch(73.44, 64.59, 103.94°)
OKLaboklab(76.57% -0.0491 0.1391)
OKLCHoklch(76.57% 0.148 109.4)
XYZxyz(38.4996, 45.8339, 10.4325)
Luminance0.4583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA37 #3737BA
analogous
#BA7937 #BABA37 #79BA37
triadic
#BABA37 #37BABA #BA37BA
tetradic
#BABA37 #37BA79 #3737BA #BA3779
square
#BABA37 #37BA79 #3737BA #BA3779
split-complementary
#BABA37 #3779BA #7937BA
monochromatic
#5C5C1B #8B8B29 #BABA37 #D0D05F #DEDE8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABA37#FFFFFF#000000##000000
##BABA371.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baba37;
/* rgb */ color: rgb(186, 186, 55);
/* oklch */ color: oklch(76.6% 0.148 109.4);
Tailwind
colors: {
  custom: {
    50: '#d2ce77',
    500: '#baba37',
    950: '#000000',
  },
}
SCSS
$custom: #baba37;
$custom-light: #d2ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#baba37",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 55
  },
  "hsl": {
    "h": 60,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76567,
    "c": 0.14754,
    "h": 109.4
  },
  "luminance": 0.45833
}

Semantic roles & 50–950 ramp

primary
#BABA37
secondary
#8585C8
accent
#4ADE4A
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BABA37

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

Preview Lab → · Contrast checker → · Palette generator →

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