#BAB63B#BAB63B

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

Color values

HEX#BAB63B
RGBrgb(186, 182, 59)
HSLhsl(58, 52%, 48%)
HSVhsv(58, 68%, 73%)
CMYKcmyk(0%, 2.2%, 68.3%, 27.1%)
CIE-LABlab(72.37, -13.31, 60.12)
CIE-LCHlch(72.37, 61.58, 102.49°)
OKLaboklab(75.72% -0.0424 0.1344)
OKLCHoklch(75.72% 0.141 107.5)
XYZxyz(37.7684, 44.2120, 10.6811)
Luminance0.4421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB63B #3B3FBA
analogous
#BA763B #BAB63B #7EBA3B
triadic
#BAB63B #3BBAB6 #B63BBA
tetradic
#BAB63B #3BBA76 #3B3FBA #BA3B7E
square
#BAB63B #3BBA76 #3B3FBA #BA3B7E
split-complementary
#BAB63B #3B7EBA #763BBA
monochromatic
#5D5B1E #8C892C #BAB63B #CECB64 #DDDA93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB63B#FFFFFF#000000##000000
##BAB63B1.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)
#C5AF28
Deuteranopia (green-blind)
#C7B443
Tritanopia (blue-blind)
#C7AA9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bab63b;
/* rgb */ color: rgb(186, 182, 59);
/* oklch */ color: oklch(75.7% 0.141 107.5);
Tailwind
colors: {
  custom: {
    50: '#d2cb78',
    500: '#bab63b',
    950: '#000000',
  },
}
SCSS
$custom: #bab63b;
$custom-light: #d2cb78;
$custom-dark: #000000;
JSON
{
  "hex": "#bab63b",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 59
  },
  "hsl": {
    "h": 58.11,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.75723,
    "c": 0.14094,
    "h": 107.5
  },
  "luminance": 0.44211
}

Semantic roles & 50–950 ramp

primary
#BAB63B
secondary
#898BC8
accent
#51DB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #BAB63B

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

Preview Lab → · Contrast checker → · Palette generator →

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