#BABA39#BABA39

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

Color values

HEX#BABA39
RGBrgb(186, 186, 57)
HSLhsl(60, 53%, 48%)
HSVhsv(60, 69%, 73%)
CMYKcmyk(0%, 0%, 69.4%, 27.1%)
CIE-LABlab(73.45, -15.46, 61.96)
CIE-LCHlch(73.45, 63.86, 104.01°)
OKLaboklab(76.58% -0.0486 0.138)
OKLCHoklch(76.58% 0.146 109.4)
XYZxyz(38.5485, 45.8535, 10.6901)
Luminance0.4585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA39 #3939BA
analogous
#BA7939 #BABA39 #79BA39
triadic
#BABA39 #39BABA #BA39BA
tetradic
#BABA39 #39BA79 #3939BA #BA3979
square
#BABA39 #39BA79 #3939BA #BA3979
split-complementary
#BABA39 #3979BA #7939BA
monochromatic
#5C5C1C #8B8B2B #BABA39 #CFCF61 #DDDD90

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BABA39#FFFFFF#000000##000000
##BABA391.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B224
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#C7AEA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #baba39;
/* rgb */ color: rgb(186, 186, 57);
/* oklch */ color: oklch(76.6% 0.146 109.4);
Tailwind
colors: {
  custom: {
    50: '#d2ce78',
    500: '#baba39',
    950: '#000000',
  },
}
SCSS
$custom: #baba39;
$custom-light: #d2ce78;
$custom-dark: #000000;
JSON
{
  "hex": "#baba39",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 57
  },
  "hsl": {
    "h": 60,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76581,
    "c": 0.14627,
    "h": 109.4
  },
  "luminance": 0.45852
}

Semantic roles & 50–950 ramp

primary
#BABA39
secondary
#8787C8
accent
#4BDC4B
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BABA39

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

Preview Lab → · Contrast checker → · Palette generator →

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