#BBAF4A#BBAF4A

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

Color values

HEX#BBAF4A
RGBrgb(187, 175, 74)
HSLhsl(54, 45%, 51%)
HSVhsv(54, 60%, 73%)
CMYKcmyk(0%, 6.4%, 60.4%, 26.7%)
CIE-LABlab(70.68, -8.33, 52.04)
CIE-LCHlch(70.68, 52.70, 99.09°)
OKLaboklab(74.44% -0.0266 0.1196)
OKLCHoklch(74.44% 0.123 102.6)
XYZxyz(37.0609, 41.7206, 12.5779)
Luminance0.4172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF4A #4A56BB
analogous
#BB764A #BBAF4A #8EBB4A
triadic
#BBAF4A #4ABBAF #AF4ABB
tetradic
#BBAF4A #4ABB76 #4A56BB #BB4A8E
square
#BBAF4A #4ABB76 #4A56BB #BB4A8E
split-complementary
#BBAF4A #4A8EBB #764ABB
monochromatic
#655E26 #918837 #BBAF4A #CCC376 #DCD6A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBAF4A#FFFFFF#000000##000000
##BBAF4A1.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)
#BEAA3F
Deuteranopia (green-blind)
#C1AF4F
Tritanopia (blue-blind)
#C8A499
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bbaf4a;
/* rgb */ color: rgb(187, 175, 74);
/* oklch */ color: oklch(74.4% 0.123 102.6);
Tailwind
colors: {
  custom: {
    50: '#d2c680',
    500: '#bbaf4a',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf4a;
$custom-light: #d2c680;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf4a",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 74
  },
  "hsl": {
    "h": 53.628,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74436,
    "c": 0.12252,
    "h": 102.6
  },
  "luminance": 0.41719
}

Semantic roles & 50–950 ramp

primary
#BBAF4A
secondary
#979DC9
accent
#61D553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #BBAF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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