#BABA30#BABA30

#BABA30 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.5% C 0.152 H 109.5°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#BABA30
RGBrgb(186, 186, 48)
HSLhsl(60, 59%, 46%)
HSVhsv(60, 74%, 73%)
CMYKcmyk(0%, 0%, 74.2%, 27.1%)
CIE-LABlab(73.40, -15.88, 65.08)
CIE-LCHlch(73.40, 66.99, 103.71°)
OKLaboklab(76.52% -0.0506 0.143)
OKLCHoklch(76.52% 0.152 109.5)
XYZxyz(38.3435, 45.7715, 9.6107)
Luminance0.4577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA30 #3030BA
analogous
#BA7530 #BABA30 #75BA30
triadic
#BABA30 #30BABA #BA30BA
tetradic
#BABA30 #30BA75 #3030BA #BA3075
square
#BABA30 #30BA75 #3030BA #BA3075
split-complementary
#BABA30 #3075BA #7530BA
monochromatic
#595917 #898923 #BABA30 #D3D354 #DFDF85

Accessibility & contrast

On white

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

On black

10.15
#BABA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA30
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA30#FFFFFF#000000##000000
##BABA301.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baba30;
/* rgb */ color: rgb(186, 186, 48);
/* oklch */ color: oklch(76.5% 0.152 109.5);
Tailwind
colors: {
  custom: {
    50: '#d2ce73',
    500: '#baba30',
    950: '#000000',
  },
}
SCSS
$custom: #baba30;
$custom-light: #d2ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#baba30",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 48
  },
  "hsl": {
    "h": 60,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.76521,
    "c": 0.15167,
    "h": 109.5
  },
  "luminance": 0.4577
}

Semantic roles & 50–950 ramp

primary
#BABA30
secondary
#7D7DC9
accent
#46E246
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BABA30

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

Preview Lab → · Contrast checker → · Palette generator →

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