#BBA340#BBA340

#BBA340 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.8% C 0.121 H 95.5°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#BBA340
RGBrgb(187, 163, 64)
HSLhsl(48, 49%, 49%)
HSVhsv(48, 66%, 73%)
CMYKcmyk(0%, 12.8%, 65.8%, 26.7%)
CIE-LABlab(67.38, -2.65, 52.92)
CIE-LCHlch(67.38, 52.99, 92.86°)
OKLaboklab(71.79% -0.0116 0.12)
OKLCHoklch(71.79% 0.121 95.5)
XYZxyz(34.5177, 37.1311, 10.1984)
Luminance0.3713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA340 #4058BB
analogous
#BB6640 #BBA340 #96BB40
triadic
#BBA340 #40BBA3 #A340BB
tetradic
#BBA340 #40BB66 #4058BB #BB4096
square
#BBA340 #40BB66 #4058BB #BB4096
split-complementary
#BBA340 #4096BB #6640BB
monochromatic
#605421 #8D7B30 #BBA340 #CDBA6C #DCCF99

Accessibility & contrast

On white

2.49
#BBA340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#BBA340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA340
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA340#FFFFFF#000000##000000
##BBA3401.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A034
Deuteranopia (green-blind)
#B9A745
Tritanopia (blue-blind)
#C9978E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bba340;
/* rgb */ color: rgb(187, 163, 64);
/* oklch */ color: oklch(71.8% 0.121 95.5);
Tailwind
colors: {
  custom: {
    50: '#d3bd79',
    500: '#bba340',
    950: '#000000',
  },
}
SCSS
$custom: #bba340;
$custom-light: #d3bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#bba340",
  "rgb": {
    "r": 187,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 48.293,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7179,
    "c": 0.12056,
    "h": 95.5
  },
  "luminance": 0.37129
}

Semantic roles & 50–950 ramp

primary
#BBA340
secondary
#8F9AC8
accent
#6AD94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BBA340

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

Preview Lab → · Contrast checker → · Palette generator →

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