#BBA03C#BBA03C

#BBA03C is a light, vivid yellow. Relative luminance 0.360; OKLCH L 71.1% C 0.121 H 93.8°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#BBA03C
RGBrgb(187, 160, 60)
HSLhsl(47, 51%, 48%)
HSVhsv(47, 68%, 73%)
CMYKcmyk(0%, 14.4%, 67.9%, 26.7%)
CIE-LABlab(66.55, -1.28, 53.79)
CIE-LCHlch(66.55, 53.80, 91.36°)
OKLaboklab(71.12% -0.0081 0.1212)
OKLCHoklch(71.12% 0.121 93.8)
XYZxyz(33.8816, 36.0345, 9.4448)
Luminance0.3603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA03C #3C57BB
analogous
#BB603C #BBA03C #96BB3C
triadic
#BBA03C #3CBBA0 #A03CBB
tetradic
#BBA03C #3CBB60 #3C57BB #BB3C96
square
#BBA03C #3CBB60 #3C57BB #BB3C96
split-complementary
#BBA03C #3C96BB #603CBB
monochromatic
#5E511E #8D782D #BBA03C #CEB866 #DDCD95

Accessibility & contrast

On white

2.56
#BBA03C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#BBA03C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA03C
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA03C#FFFFFF#000000##000000
##BBA03C1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D2F
Deuteranopia (green-blind)
#B7A541
Tritanopia (blue-blind)
#CA948B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bba03c;
/* rgb */ color: rgb(187, 160, 60);
/* oklch */ color: oklch(71.1% 0.121 93.8);
Tailwind
colors: {
  custom: {
    50: '#d3bb77',
    500: '#bba03c',
    950: '#000000',
  },
}
SCSS
$custom: #bba03c;
$custom-light: #d3bb77;
$custom-dark: #000000;
JSON
{
  "hex": "#bba03c",
  "rgb": {
    "r": 187,
    "g": 160,
    "b": 60
  },
  "hsl": {
    "h": 47.244,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.71123,
    "c": 0.12145,
    "h": 93.8
  },
  "luminance": 0.36033
}

Semantic roles & 50–950 ramp

primary
#BBA03C
secondary
#8B98C8
accent
#6BDB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BBA03C

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

Preview Lab → · Contrast checker → · Palette generator →

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