#BBAF78#BBAF78

#BBAF78 is a light, moderate yellow. Relative luminance 0.426; OKLCH L 75.1% C 0.074 H 97.3°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#BBAF78
RGBrgb(187, 175, 120)
HSLhsl(49, 33%, 60%)
HSVhsv(49, 36%, 73%)
CMYKcmyk(0%, 6.4%, 35.8%, 26.7%)
CIE-LABlab(71.27, -3.94, 29.79)
CIE-LCHlch(71.27, 30.05, 97.53°)
OKLaboklab(75.1% -0.0095 0.0738)
OKLCHoklch(75.1% 0.074 97.3)
XYZxyz(39.2143, 42.5819, 23.9191)
Luminance0.4258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF78 #7884BB
analogous
#BB8E78 #BBAF78 #A5BB78
triadic
#BBAF78 #78BBAF #AF78BB
tetradic
#BBAF78 #78BB8E #7884BB #BB78A5
square
#BBAF78 #78BB8E #7884BB #BB78A5
split-complementary
#BBAF78 #78A5BB #8E78BB
monochromatic
#7B703E #A39552 #BBAF78 #D0C7A1 #E4DFC9

Accessibility & contrast

On white

2.21
#BBAF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#BBAF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAF78
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAF78#FFFFFF#000000##000000
##BBAF781.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAC74
Deuteranopia (green-blind)
#BDB07A
Tritanopia (blue-blind)
#C5A7A1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bbaf78;
/* rgb */ color: rgb(187, 175, 120);
/* oklch */ color: oklch(75.1% 0.074 97.3);
Tailwind
colors: {
  custom: {
    50: '#d0c69f',
    500: '#bbaf78',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf78;
$custom-light: #d0c69f;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf78",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 120
  },
  "hsl": {
    "h": 49.254,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.75098,
    "c": 0.07441,
    "h": 97.3
  },
  "luminance": 0.42581
}

Semantic roles & 50–950 ramp

primary
#BBAF78
secondary
#BBBFD4
accent
#4EAC3A
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #BBAF78

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

Preview Lab → · Contrast checker → · Palette generator →

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