#BBA03F#BBA03F

#BBA03F is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.2% C 0.119 H 93.5°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#BBA03F
RGBrgb(187, 160, 63)
HSLhsl(47, 50%, 49%)
HSVhsv(47, 66%, 73%)
CMYKcmyk(0%, 14.4%, 66.3%, 26.7%)
CIE-LABlab(66.57, -1.10, 52.51)
CIE-LCHlch(66.57, 52.52, 91.20°)
OKLaboklab(71.15% -0.0073 0.119)
OKLCHoklch(71.15% 0.119 93.5)
XYZxyz(33.9632, 36.0671, 9.8744)
Luminance0.3607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA03F #3F5ABB
analogous
#BB623F #BBA03F #98BB3F
triadic
#BBA03F #3FBBA0 #A03FBB
tetradic
#BBA03F #3FBB62 #3F5ABB #BB3F98
square
#BBA03F #3FBB62 #3F5ABB #BB3F98
split-complementary
#BBA03F #3F98BB #623FBB
monochromatic
#5F5220 #8D7930 #BBA03F #CDB76A #DCCD98

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBA03F#FFFFFF#000000##000000
##BBA03F1.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)
#B09D33
Deuteranopia (green-blind)
#B7A544
Tritanopia (blue-blind)
#CA948C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bba03f;
/* rgb */ color: rgb(187, 160, 63);
/* oklch */ color: oklch(71.2% 0.119 93.5);
Tailwind
colors: {
  custom: {
    50: '#d3bb79',
    500: '#bba03f',
    950: '#000000',
  },
}
SCSS
$custom: #bba03f;
$custom-light: #d3bb79;
$custom-dark: #000000;
JSON
{
  "hex": "#bba03f",
  "rgb": {
    "r": 187,
    "g": 160,
    "b": 63
  },
  "hsl": {
    "h": 46.935,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71151,
    "c": 0.11918,
    "h": 93.5
  },
  "luminance": 0.36065
}

Semantic roles & 50–950 ramp

primary
#BBA03F
secondary
#8E9AC8
accent
#6DD94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#151109
muted
#83807B

Preview Lab

Preview with #BBA03F

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

Preview Lab → · Contrast checker → · Palette generator →

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