#BAB63D#BAB63D

#BAB63D 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.85:1 contrast (WCAG AA passes).

Color values

HEX#BAB63D
RGBrgb(186, 182, 61)
HSLhsl(58, 51%, 48%)
HSVhsv(58, 67%, 73%)
CMYKcmyk(0%, 2.2%, 67.2%, 27.1%)
CIE-LABlab(72.38, -13.20, 59.35)
CIE-LCHlch(72.38, 60.80, 102.54°)
OKLaboklab(75.74% -0.0419 0.1331)
OKLCHoklch(75.74% 0.14 107.5)
XYZxyz(37.8213, 44.2331, 10.9595)
Luminance0.4423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB63D #3D41BA
analogous
#BA773D #BAB63D #7FBA3D
triadic
#BAB63D #3DBAB6 #B63DBA
tetradic
#BAB63D #3DBA77 #3D41BA #BA3D7F
square
#BAB63D #3DBA77 #3D41BA #BA3D7F
split-complementary
#BAB63D #3D7FBA #773DBA
monochromatic
#5E5C1F #8C892E #BAB63D #CDCA67 #DCDA95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB63D#FFFFFF#000000##000000
##BAB63D1.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)
#C5AF2C
Deuteranopia (green-blind)
#C7B445
Tritanopia (blue-blind)
#C7AA9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bab63d;
/* rgb */ color: rgb(186, 182, 61);
/* oklch */ color: oklch(75.7% 0.140 107.5);
Tailwind
colors: {
  custom: {
    50: '#d2cb79',
    500: '#bab63d',
    950: '#000000',
  },
}
SCSS
$custom: #bab63d;
$custom-light: #d2cb79;
$custom-dark: #000000;
JSON
{
  "hex": "#bab63d",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 61
  },
  "hsl": {
    "h": 58.08,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75739,
    "c": 0.13956,
    "h": 107.5
  },
  "luminance": 0.44232
}

Semantic roles & 50–950 ramp

primary
#BAB63D
secondary
#8B8DC8
accent
#52DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB63D

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

Preview Lab → · Contrast checker → · Palette generator →

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