#BAB930#BAB930

#BAB930 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.3% C 0.151 H 109.1°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#BAB930
RGBrgb(186, 185, 48)
HSLhsl(60, 59%, 46%)
HSVhsv(60, 74%, 73%)
CMYKcmyk(0%, 0.5%, 74.2%, 27.1%)
CIE-LABlab(73.12, -15.38, 64.83)
CIE-LCHlch(73.12, 66.63, 103.34°)
OKLaboklab(76.3% -0.0492 0.1424)
OKLCHoklch(76.3% 0.151 109.1)
XYZxyz(38.1336, 45.3516, 9.5407)
Luminance0.4535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB930 #3031BA
analogous
#BA7430 #BAB930 #76BA30
triadic
#BAB930 #30BAB9 #B930BA
tetradic
#BAB930 #30BA74 #3031BA #BA3076
square
#BAB930 #30BA74 #3031BA #BA3076
split-complementary
#BAB930 #3076BA #7430BA
monochromatic
#595817 #898923 #BAB930 #D3D254 #DFDF85

Accessibility & contrast

On white

2.09
#BAB930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#BAB930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB930
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB930#FFFFFF#000000##000000
##BAB9301.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B112
Deuteranopia (green-blind)
#CAB63B
Tritanopia (blue-blind)
#C7AD9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab930;
/* rgb */ color: rgb(186, 185, 48);
/* oklch */ color: oklch(76.3% 0.151 109.1);
Tailwind
colors: {
  custom: {
    50: '#d2cd73',
    500: '#bab930',
    950: '#000000',
  },
}
SCSS
$custom: #bab930;
$custom-light: #d2cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#bab930",
  "rgb": {
    "r": 186,
    "g": 185,
    "b": 48
  },
  "hsl": {
    "h": 59.565,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.76302,
    "c": 0.1507,
    "h": 109.1
  },
  "luminance": 0.4535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAB930

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

Preview Lab → · Contrast checker → · Palette generator →

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