#BBA63B#BBA63B

#BBA63B is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.4% C 0.127 H 98.0°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#BBA63B
RGBrgb(187, 166, 59)
HSLhsl(50, 52%, 48%)
HSVhsv(50, 68%, 73%)
CMYKcmyk(0%, 11.2%, 68.4%, 26.7%)
CIE-LABlab(68.13, -4.54, 55.85)
CIE-LCHlch(68.13, 56.04, 94.64°)
OKLaboklab(72.38% -0.0176 0.1254)
OKLCHoklch(72.38% 0.127 98)
XYZxyz(34.9208, 38.1547, 9.6620)
Luminance0.3815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA63B #3B50BB
analogous
#BB663B #BBA63B #90BB3B
triadic
#BBA63B #3BBBA6 #A63BBB
tetradic
#BBA63B #3BBB66 #3B50BB #BB3B90
square
#BBA63B #3BBB66 #3B50BB #BB3B90
split-complementary
#BBA63B #3B90BB #663BBB
monochromatic
#5E531E #8C7D2C #BBA63B #CEBD65 #DDD193

Accessibility & contrast

On white

2.43
#BBA63B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#BBA63B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA63B
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA63B#FFFFFF#000000##000000
##BBA63B1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A22D
Deuteranopia (green-blind)
#BCA941
Tritanopia (blue-blind)
#C99A90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bba63b;
/* rgb */ color: rgb(187, 166, 59);
/* oklch */ color: oklch(72.4% 0.127 98.0);
Tailwind
colors: {
  custom: {
    50: '#d3c077',
    500: '#bba63b',
    950: '#000000',
  },
}
SCSS
$custom: #bba63b;
$custom-light: #d3c077;
$custom-dark: #000000;
JSON
{
  "hex": "#bba63b",
  "rgb": {
    "r": 187,
    "g": 166,
    "b": 59
  },
  "hsl": {
    "h": 50.156,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72378,
    "c": 0.12661,
    "h": 98
  },
  "luminance": 0.38153
}

Semantic roles & 50–950 ramp

primary
#BBA63B
secondary
#8A94C8
accent
#64DB4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BBA63B

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

Preview Lab → · Contrast checker → · Palette generator →

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