#BABA38#BABA38

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

Color values

HEX#BABA38
RGBrgb(186, 186, 56)
HSLhsl(60, 54%, 47%)
HSVhsv(60, 70%, 73%)
CMYKcmyk(0%, 0%, 69.9%, 27.1%)
CIE-LABlab(73.44, -15.51, 62.32)
CIE-LCHlch(73.44, 64.22, 103.97°)
OKLaboklab(76.57% -0.0488 0.1386)
OKLCHoklch(76.57% 0.147 109.4)
XYZxyz(38.5238, 45.8436, 10.5600)
Luminance0.4584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA38 #3838BA
analogous
#BA7938 #BABA38 #79BA38
triadic
#BABA38 #38BABA #BA38BA
tetradic
#BABA38 #38BA79 #3838BA #BA3879
square
#BABA38 #38BA79 #3838BA #BA3879
split-complementary
#BABA38 #3879BA #7938BA
monochromatic
#5C5C1C #8B8B2A #BABA38 #CFCF60 #DDDD8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABA38#FFFFFF#000000##000000
##BABA381.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)
#C9B222
Deuteranopia (green-blind)
#CBB641
Tritanopia (blue-blind)
#C7AEA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #baba38;
/* rgb */ color: rgb(186, 186, 56);
/* oklch */ color: oklch(76.6% 0.147 109.4);
Tailwind
colors: {
  custom: {
    50: '#d2ce77',
    500: '#baba38',
    950: '#000000',
  },
}
SCSS
$custom: #baba38;
$custom-light: #d2ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#baba38",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 60,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.76574,
    "c": 0.14691,
    "h": 109.4
  },
  "luminance": 0.45842
}

Semantic roles & 50–950 ramp

primary
#BABA38
secondary
#8686C8
accent
#4BDD4B
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BABA38

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

Preview Lab → · Contrast checker → · Palette generator →

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