#BBAF47#BBAF47

#BBAF47 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.4% C 0.125 H 102.7°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#BBAF47
RGBrgb(187, 175, 71)
HSLhsl(54, 46%, 51%)
HSVhsv(54, 62%, 73%)
CMYKcmyk(0%, 6.4%, 62%, 26.7%)
CIE-LABlab(70.65, -8.54, 53.35)
CIE-LCHlch(70.65, 54.03, 99.09°)
OKLaboklab(74.41% -0.0276 0.122)
OKLCHoklch(74.41% 0.125 102.7)
XYZxyz(36.9622, 41.6811, 12.0583)
Luminance0.4168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF47 #4753BB
analogous
#BB7547 #BBAF47 #8DBB47
triadic
#BBAF47 #47BBAF #AF47BB
tetradic
#BBAF47 #47BB75 #4753BB #BB478D
square
#BBAF47 #47BB75 #4753BB #BB478D
split-complementary
#BBAF47 #478DBB #7547BB
monochromatic
#635D25 #908635 #BBAF47 #CCC274 #DCD6A0

Accessibility & contrast

On white

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

On black

9.34
#BBAF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAF47
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAF47#FFFFFF#000000##000000
##BBAF471.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3B
Deuteranopia (green-blind)
#C2AF4D
Tritanopia (blue-blind)
#C8A499
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bbaf47;
/* rgb */ color: rgb(187, 175, 71);
/* oklch */ color: oklch(74.4% 0.125 102.7);
Tailwind
colors: {
  custom: {
    50: '#d2c67f',
    500: '#bbaf47',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf47;
$custom-light: #d2c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf47",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 53.793,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74406,
    "c": 0.12504,
    "h": 102.7
  },
  "luminance": 0.4168
}

Semantic roles & 50–950 ramp

primary
#BBAF47
secondary
#959AC9
accent
#60D652
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BBAF47

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

Preview Lab → · Contrast checker → · Palette generator →

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