#BBA52F#BBA52F

#BBA52F is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.1% C 0.134 H 98.2°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#BBA52F
RGBrgb(187, 165, 47)
HSLhsl(51, 60%, 46%)
HSVhsv(51, 75%, 73%)
CMYKcmyk(0%, 11.8%, 74.9%, 26.7%)
CIE-LABlab(67.79, -4.60, 60.18)
CIE-LCHlch(67.79, 60.36, 94.37°)
OKLaboklab(72.08% -0.0191 0.1323)
OKLCHoklch(72.08% 0.134 98.2)
XYZxyz(34.4635, 37.6821, 8.1468)
Luminance0.3768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBA52F #2F45BB
analogous
#BB5F2F #BBA52F #8BBB2F
triadic
#BBA52F #2FBBA5 #A52FBB
tetradic
#BBA52F #2FBB5F #2F45BB #BB2F8B
square
#BBA52F #2FBB5F #2F45BB #BB2F8B
split-complementary
#BBA52F #2F8BBB #5F2FBB
monochromatic
#594F16 #8A7A23 #BBA52F #D4C053 #E0D284

Accessibility & contrast

On white

2.46
#BBA52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#BBA52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBA52F
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBA52F#FFFFFF#000000##000000
##BBA52F1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A119
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#CA988E
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bba52f;
/* rgb */ color: rgb(187, 165, 47);
/* oklch */ color: oklch(72.1% 0.134 98.2);
Tailwind
colors: {
  custom: {
    50: '#d3bf70',
    500: '#bba52f',
    950: '#000000',
  },
}
SCSS
$custom: #bba52f;
$custom-light: #d3bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#bba52f",
  "rgb": {
    "r": 187,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 50.571,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72075,
    "c": 0.1337,
    "h": 98.2
  },
  "luminance": 0.3768
}

Semantic roles & 50–950 ramp

primary
#BBA52F
secondary
#7C88C9
accent
#5EE345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BBA52F

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

Preview Lab → · Contrast checker → · Palette generator →

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