#BAB63C#BAB63C

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

Color values

HEX#BAB63C
RGBrgb(186, 182, 60)
HSLhsl(58, 51%, 48%)
HSVhsv(58, 68%, 73%)
CMYKcmyk(0%, 2.2%, 67.7%, 27.1%)
CIE-LABlab(72.38, -13.26, 59.74)
CIE-LCHlch(72.38, 61.19, 102.51°)
OKLaboklab(75.73% -0.0421 0.1338)
OKLCHoklch(75.73% 0.14 107.5)
XYZxyz(37.7946, 44.2225, 10.8190)
Luminance0.4422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB63C #3C40BA
analogous
#BA773C #BAB63C #7FBA3C
triadic
#BAB63C #3CBAB6 #B63CBA
tetradic
#BAB63C #3CBA77 #3C40BA #BA3C7F
square
#BAB63C #3CBA77 #3C40BA #BA3C7F
split-complementary
#BAB63C #3C7FBA #773CBA
monochromatic
#5D5B1E #8C892D #BAB63C #CECA66 #DCDA94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB63C#FFFFFF#000000##000000
##BAB63C1.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)
#C5AF2A
Deuteranopia (green-blind)
#C7B444
Tritanopia (blue-blind)
#C7AA9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bab63c;
/* rgb */ color: rgb(186, 182, 60);
/* oklch */ color: oklch(75.7% 0.140 107.5);
Tailwind
colors: {
  custom: {
    50: '#d2cb79',
    500: '#bab63c',
    950: '#000000',
  },
}
SCSS
$custom: #bab63c;
$custom-light: #d2cb79;
$custom-dark: #000000;
JSON
{
  "hex": "#bab63c",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 60
  },
  "hsl": {
    "h": 58.095,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.75731,
    "c": 0.14025,
    "h": 107.5
  },
  "luminance": 0.44221
}

Semantic roles & 50–950 ramp

primary
#BAB63C
secondary
#8A8CC8
accent
#52DB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #BAB63C

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

Preview Lab → · Contrast checker → · Palette generator →

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