#BBAF4C#BBAF4C

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

Color values

HEX#BBAF4C
RGBrgb(187, 175, 76)
HSLhsl(54, 45%, 52%)
HSVhsv(54, 59%, 73%)
CMYKcmyk(0%, 6.4%, 59.4%, 26.7%)
CIE-LABlab(70.70, -8.19, 51.15)
CIE-LCHlch(70.70, 51.80, 99.09°)
OKLaboklab(74.46% -0.026 0.118)
OKLCHoklch(74.46% 0.121 102.4)
XYZxyz(37.1293, 41.7479, 12.9384)
Luminance0.4175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF4C #4C58BB
analogous
#BB784C #BBAF4C #8FBB4C
triadic
#BBAF4C #4CBBAF #AF4CBB
tetradic
#BBAF4C #4CBB78 #4C58BB #BB4C8F
square
#BBAF4C #4CBB78 #4C58BB #BB4C8F
split-complementary
#BBAF4C #4C8FBB #784CBB
monochromatic
#665F27 #928838 #BBAF4C #CCC378 #DDD7A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BBAF4C#FFFFFF#000000##000000
##BBAF4C1.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)
#BEAA41
Deuteranopia (green-blind)
#C1AF51
Tritanopia (blue-blind)
#C8A499
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bbaf4c;
/* rgb */ color: rgb(187, 175, 76);
/* oklch */ color: oklch(74.5% 0.121 102.4);
Tailwind
colors: {
  custom: {
    50: '#d2c682',
    500: '#bbaf4c',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf4c;
$custom-light: #d2c682;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf4c",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 76
  },
  "hsl": {
    "h": 53.514,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74457,
    "c": 0.12079,
    "h": 102.4
  },
  "luminance": 0.41747
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BBAF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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