#BAB63A#BAB63A

#BAB63A is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.7% C 0.142 H 107.5°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#BAB63A
RGBrgb(186, 182, 58)
HSLhsl(58, 52%, 48%)
HSVhsv(58, 69%, 73%)
CMYKcmyk(0%, 2.2%, 68.8%, 27.1%)
CIE-LABlab(72.36, -13.37, 60.50)
CIE-LCHlch(72.36, 61.96, 102.46°)
OKLaboklab(75.72% -0.0426 0.1351)
OKLCHoklch(75.72% 0.142 107.5)
XYZxyz(37.7428, 44.2017, 10.5458)
Luminance0.4420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB63A #3A3EBA
analogous
#BA763A #BAB63A #7EBA3A
triadic
#BAB63A #3ABAB6 #B63ABA
tetradic
#BAB63A #3ABA76 #3A3EBA #BA3A7E
square
#BAB63A #3ABA76 #3A3EBA #BA3A7E
split-complementary
#BAB63A #3A7EBA #763ABA
monochromatic
#5D5B1D #8B882B #BAB63A #CECB63 #DDDB92

Accessibility & contrast

On white

2.13
#BAB63A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#BAB63A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB63A
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB63A#FFFFFF#000000##000000
##BAB63A1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF27
Deuteranopia (green-blind)
#C7B442
Tritanopia (blue-blind)
#C7AA9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bab63a;
/* rgb */ color: rgb(186, 182, 58);
/* oklch */ color: oklch(75.7% 0.142 107.5);
Tailwind
colors: {
  custom: {
    50: '#d2cb78',
    500: '#bab63a',
    950: '#000000',
  },
}
SCSS
$custom: #bab63a;
$custom-light: #d2cb78;
$custom-dark: #000000;
JSON
{
  "hex": "#bab63a",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 58
  },
  "hsl": {
    "h": 58.125,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75716,
    "c": 0.14162,
    "h": 107.5
  },
  "luminance": 0.442
}

Semantic roles & 50–950 ramp

primary
#BAB63A
secondary
#888AC8
accent
#50DC4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB63A

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

Preview Lab → · Contrast checker → · Palette generator →

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