#BBA03B#BBA03B

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

Color values

HEX#BBA03B
RGBrgb(187, 160, 59)
HSLhsl(47, 52%, 48%)
HSVhsv(47, 68%, 73%)
CMYKcmyk(0%, 14.4%, 68.4%, 26.7%)
CIE-LABlab(66.54, -1.34, 54.21)
CIE-LCHlch(66.54, 54.22, 91.41°)
OKLaboklab(71.11% -0.0084 0.1219)
OKLCHoklch(71.11% 0.122 94)
XYZxyz(33.8554, 36.0240, 9.3069)
Luminance0.3602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA03B #3B56BB
analogous
#BB603B #BBA03B #96BB3B
triadic
#BBA03B #3BBBA0 #A03BBB
tetradic
#BBA03B #3BBB60 #3B56BB #BB3B96
square
#BBA03B #3BBB60 #3B56BB #BB3B96
split-complementary
#BBA03B #3B96BB #603BBB
monochromatic
#5E501E #8C782C #BBA03B #CEB865 #DDCD93

Accessibility & contrast

On white

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

On black

8.20
#BBA03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA03B
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA03B#FFFFFF#000000##000000
##BBA03B1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bba03b;
/* rgb */ color: rgb(187, 160, 59);
/* oklch */ color: oklch(71.1% 0.122 94.0);
Tailwind
colors: {
  custom: {
    50: '#d3bb76',
    500: '#bba03b',
    950: '#000000',
  },
}
SCSS
$custom: #bba03b;
$custom-light: #d3bb76;
$custom-dark: #000000;
JSON
{
  "hex": "#bba03b",
  "rgb": {
    "r": 187,
    "g": 160,
    "b": 59
  },
  "hsl": {
    "h": 47.344,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71115,
    "c": 0.12219,
    "h": 94
  },
  "luminance": 0.36022
}

Semantic roles & 50–950 ramp

primary
#BBA03B
secondary
#8A97C8
accent
#6BDB4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BBA03B

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

Preview Lab → · Contrast checker → · Palette generator →

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