#BBAF4B#BBAF4B

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

Color values

HEX#BBAF4B
RGBrgb(187, 175, 75)
HSLhsl(54, 45%, 51%)
HSVhsv(54, 60%, 73%)
CMYKcmyk(0%, 6.4%, 59.9%, 26.7%)
CIE-LABlab(70.69, -8.26, 51.60)
CIE-LCHlch(70.69, 52.25, 99.09°)
OKLaboklab(74.45% -0.0263 0.1188)
OKLCHoklch(74.45% 0.122 102.5)
XYZxyz(37.0948, 41.7341, 12.7568)
Luminance0.4173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF4B #4B57BB
analogous
#BB774B #BBAF4B #8FBB4B
triadic
#BBAF4B #4BBBAF #AF4BBB
tetradic
#BBAF4B #4BBB77 #4B57BB #BB4B8F
square
#BBAF4B #4BBB77 #4B57BB #BB4B8F
split-complementary
#BBAF4B #4B8FBB #774BBB
monochromatic
#655F26 #928837 #BBAF4B #CCC377 #DDD6A4

Accessibility & contrast

On white

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

On black

9.35
#BBAF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAF4B
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAF4B#FFFFFF#000000##000000
##BBAF4B1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bbaf4b;
/* rgb */ color: rgb(187, 175, 75);
/* oklch */ color: oklch(74.4% 0.122 102.5);
Tailwind
colors: {
  custom: {
    50: '#d2c681',
    500: '#bbaf4b',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf4b;
$custom-light: #d2c681;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf4b",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 75
  },
  "hsl": {
    "h": 53.571,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.74447,
    "c": 0.12167,
    "h": 102.5
  },
  "luminance": 0.41733
}

Semantic roles & 50–950 ramp

primary
#BBAF4B
secondary
#989ECA
accent
#61D553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BBAF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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