#BAB63F#BAB63F

#BAB63F is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.8% C 0.138 H 107.4°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#BAB63F
RGBrgb(186, 182, 63)
HSLhsl(58, 49%, 49%)
HSVhsv(58, 66%, 73%)
CMYKcmyk(0%, 2.2%, 66.1%, 27.1%)
CIE-LABlab(72.40, -13.09, 58.57)
CIE-LCHlch(72.40, 60.01, 102.60°)
OKLaboklab(75.76% -0.0413 0.1318)
OKLCHoklch(75.76% 0.138 107.4)
XYZxyz(37.8762, 44.2551, 11.2486)
Luminance0.4425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB63F #3F43BA
analogous
#BA793F #BAB63F #81BA3F
triadic
#BAB63F #3FBAB6 #B63FBA
tetradic
#BAB63F #3FBA79 #3F43BA #BA3F81
square
#BAB63F #3FBA79 #3F43BA #BA3F81
split-complementary
#BAB63F #3F81BA #793FBA
monochromatic
#5F5D20 #8C8930 #BAB63F #CCC96A #DCDA97

Accessibility & contrast

On white

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

On black

9.85
#BAB63F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB63F
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB63F#FFFFFF#000000##000000
##BAB63F1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2F
Deuteranopia (green-blind)
#C7B447
Tritanopia (blue-blind)
#C7AA9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab63f;
/* rgb */ color: rgb(186, 182, 63);
/* oklch */ color: oklch(75.8% 0.138 107.4);
Tailwind
colors: {
  custom: {
    50: '#d2cb7a',
    500: '#bab63f',
    950: '#000000',
  },
}
SCSS
$custom: #bab63f;
$custom-light: #d2cb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#bab63f",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 63
  },
  "hsl": {
    "h": 58.049,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75755,
    "c": 0.13813,
    "h": 107.4
  },
  "luminance": 0.44254
}

Semantic roles & 50–950 ramp

primary
#BAB63F
secondary
#8D8FC8
accent
#53D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB63F

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

Preview Lab → · Contrast checker → · Palette generator →

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