#BBA13B#BBA13B

#BBA13B is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.3% C 0.123 H 94.6°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#BBA13B
RGBrgb(187, 161, 59)
HSLhsl(48, 52%, 48%)
HSVhsv(48, 68%, 73%)
CMYKcmyk(0%, 13.9%, 68.4%, 26.7%)
CIE-LABlab(66.80, -1.87, 54.48)
CIE-LCHlch(66.80, 54.51, 91.97°)
OKLaboklab(71.32% -0.0099 0.1225)
OKLCHoklch(71.32% 0.123 94.6)
XYZxyz(34.0295, 36.3721, 9.3649)
Luminance0.3637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA13B #3B55BB
analogous
#BB613B #BBA13B #95BB3B
triadic
#BBA13B #3BBBA1 #A13BBB
tetradic
#BBA13B #3BBB61 #3B55BB #BB3B95
square
#BBA13B #3BBB61 #3B55BB #BB3B95
split-complementary
#BBA13B #3B95BB #613BBB
monochromatic
#5E511E #8C792C #BBA13B #CEB965 #DDCE93

Accessibility & contrast

On white

2.54
#BBA13B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#BBA13B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA13B
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA13B#FFFFFF#000000##000000
##BBA13B1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E2E
Deuteranopia (green-blind)
#B8A640
Tritanopia (blue-blind)
#CA958C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bba13b;
/* rgb */ color: rgb(187, 161, 59);
/* oklch */ color: oklch(71.3% 0.123 94.6);
Tailwind
colors: {
  custom: {
    50: '#d3bc76',
    500: '#bba13b',
    950: '#000000',
  },
}
SCSS
$custom: #bba13b;
$custom-light: #d3bc76;
$custom-dark: #000000;
JSON
{
  "hex": "#bba13b",
  "rgb": {
    "r": 187,
    "g": 161,
    "b": 59
  },
  "hsl": {
    "h": 47.813,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71324,
    "c": 0.12288,
    "h": 94.6
  },
  "luminance": 0.3637
}

Semantic roles & 50–950 ramp

primary
#BBA13B
secondary
#8A96C8
accent
#69DB4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BBA13B

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

Preview Lab → · Contrast checker → · Palette generator →

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