#BBAF5F#BBAF5F

#BBAF5F is a light, moderate yellow. Relative luminance 0.421; OKLCH L 74.7% C 0.103 H 100.9°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#BBAF5F
RGBrgb(187, 175, 95)
HSLhsl(52, 40%, 55%)
HSVhsv(52, 49%, 73%)
CMYKcmyk(0%, 6.4%, 49.2%, 26.7%)
CIE-LABlab(70.91, -6.61, 42.26)
CIE-LCHlch(70.91, 42.77, 98.89°)
OKLaboklab(74.69% -0.0194 0.1007)
OKLCHoklch(74.69% 0.103 100.9)
XYZxyz(37.8901, 42.0523, 16.9453)
Luminance0.4205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF5F #5F6BBB
analogous
#BB815F #BBAF5F #99BB5F
triadic
#BBAF5F #5FBBAF #AF5FBB
tetradic
#BBAF5F #5FBB81 #5F6BBB #BB5F99
square
#BBAF5F #5FBB81 #5F6BBB #BB5F99
split-complementary
#BBAF5F #5F99BB #815FBB
monochromatic
#706830 #9B8F42 #BBAF5F #CDC48A #E0DAB5

Accessibility & contrast

On white

2.23
#BBAF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#BBAF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAF5F
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAF5F#FFFFFF#000000##000000
##BBAF5F1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAB58
Deuteranopia (green-blind)
#C0B062
Tritanopia (blue-blind)
#C7A59C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bbaf5f;
/* rgb */ color: rgb(187, 175, 95);
/* oklch */ color: oklch(74.7% 0.103 100.9);
Tailwind
colors: {
  custom: {
    50: '#d1c68e',
    500: '#bbaf5f',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf5f;
$custom-light: #d1c68e;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf5f",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 95
  },
  "hsl": {
    "h": 52.174,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.74692,
    "c": 0.10253,
    "h": 100.9
  },
  "luminance": 0.42051
}

Semantic roles & 50–950 ramp

primary
#BBAF5F
secondary
#A8ADCE
accent
#67D058
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BBAF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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