#BBAF40#BBAF40

#BBAF40 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.3% C 0.131 H 103.1°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#BBAF40
RGBrgb(187, 175, 64)
HSLhsl(54, 49%, 49%)
HSVhsv(54, 66%, 73%)
CMYKcmyk(0%, 6.4%, 65.8%, 26.7%)
CIE-LABlab(70.59, -8.98, 56.31)
CIE-LCHlch(70.59, 57.02, 99.06°)
OKLaboklab(74.34% -0.0296 0.1272)
OKLCHoklch(74.34% 0.131 103.1)
XYZxyz(36.7504, 41.5964, 10.9426)
Luminance0.4159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF40 #404CBB
analogous
#BB7240 #BBAF40 #8ABB40
triadic
#BBAF40 #40BBAF #AF40BB
tetradic
#BBAF40 #40BB72 #404CBB #BB408A
square
#BBAF40 #40BB72 #404CBB #BB408A
split-complementary
#BBAF40 #408ABB #7240BB
monochromatic
#605A21 #8D8430 #BBAF40 #CDC36C #DCD699

Accessibility & contrast

On white

2.25
#BBAF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#BBAF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAF40
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAF40#FFFFFF#000000##000000
##BBAF401.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA932
Deuteranopia (green-blind)
#C2AF47
Tritanopia (blue-blind)
#C9A398
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bbaf40;
/* rgb */ color: rgb(187, 175, 64);
/* oklch */ color: oklch(74.3% 0.131 103.1);
Tailwind
colors: {
  custom: {
    50: '#d3c67a',
    500: '#bbaf40',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf40;
$custom-light: #d3c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf40",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 54.146,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.7434,
    "c": 0.13058,
    "h": 103.1
  },
  "luminance": 0.41595
}

Semantic roles & 50–950 ramp

primary
#BBAF40
secondary
#8F94C8
accent
#5DD94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BBAF40

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

Preview Lab → · Contrast checker → · Palette generator →

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