#BBA73B#BBA73B

#BBA73B is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.6% C 0.127 H 98.6°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#BBA73B
RGBrgb(187, 167, 59)
HSLhsl(51, 52%, 48%)
HSVhsv(51, 68%, 73%)
CMYKcmyk(0%, 10.7%, 68.4%, 26.7%)
CIE-LABlab(68.40, -5.07, 56.13)
CIE-LCHlch(68.40, 56.35, 95.16°)
OKLaboklab(72.59% -0.0191 0.126)
OKLCHoklch(72.59% 0.127 98.6)
XYZxyz(35.1033, 38.5197, 9.7229)
Luminance0.3852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA73B #3B4FBB
analogous
#BB673B #BBA73B #8FBB3B
triadic
#BBA73B #3BBBA7 #A73BBB
tetradic
#BBA73B #3BBB67 #3B4FBB #BB3B8F
square
#BBA73B #3BBB67 #3B4FBB #BB3B8F
split-complementary
#BBA73B #3B8FBB #673BBB
monochromatic
#5E541E #8C7D2C #BBA73B #CEBE65 #DDD293

Accessibility & contrast

On white

2.41
#BBA73B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#BBA73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA73B
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA73B#FFFFFF#000000##000000
##BBA73B1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A32C
Deuteranopia (green-blind)
#BCAA41
Tritanopia (blue-blind)
#C99B91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bba73b;
/* rgb */ color: rgb(187, 167, 59);
/* oklch */ color: oklch(72.6% 0.127 98.6);
Tailwind
colors: {
  custom: {
    50: '#d3c077',
    500: '#bba73b',
    950: '#000000',
  },
}
SCSS
$custom: #bba73b;
$custom-light: #d3c077;
$custom-dark: #000000;
JSON
{
  "hex": "#bba73b",
  "rgb": {
    "r": 187,
    "g": 167,
    "b": 59
  },
  "hsl": {
    "h": 50.625,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7259,
    "c": 0.1274,
    "h": 98.6
  },
  "luminance": 0.38518
}

Semantic roles & 50–950 ramp

primary
#BBA73B
secondary
#8A93C8
accent
#63DB4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BBA73B

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

Preview Lab → · Contrast checker → · Palette generator →

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