#BBB97F#BBB97F

#BBB97F is a light, moderate yellow. Relative luminance 0.468; OKLCH L 77.3% C 0.077 H 106.4°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#BBB97F
RGBrgb(187, 185, 127)
HSLhsl(58, 31%, 62%)
HSVhsv(58, 32%, 73%)
CMYKcmyk(0%, 1.1%, 32.1%, 26.7%)
CIE-LABlab(74.06, -8.34, 29.76)
CIE-LCHlch(74.06, 30.91, 105.65°)
OKLaboklab(77.34% -0.0218 0.074)
OKLCHoklch(77.34% 0.077 106.4)
XYZxyz(41.6736, 46.7958, 26.9117)
Luminance0.4679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB97F #7F81BB
analogous
#BB9B7F #BBB97F #9FBB7F
triadic
#BBB97F #7FBBB9 #B97FBB
tetradic
#BBB97F #7FBB9B #7F81BB #BB7F9F
square
#BBB97F #7FBB9B #7F81BB #BB7F9F
split-complementary
#BBB97F #7F9FBB #9B7FBB
monochromatic
#7D7B42 #A5A358 #BBB97F #D0CFA7 #E5E5CF

Accessibility & contrast

On white

2.03
#BBB97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#BBB97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB97F
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB97F#FFFFFF#000000##000000
##BBB97F1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B57B
Deuteranopia (green-blind)
#C4B781
Tritanopia (blue-blind)
#C3B2AA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #bbb97f;
/* rgb */ color: rgb(187, 185, 127);
/* oklch */ color: oklch(77.3% 0.077 106.4);
Tailwind
colors: {
  custom: {
    50: '#d0cda4',
    500: '#bbb97f',
    950: '#000000',
  },
}
SCSS
$custom: #bbb97f;
$custom-light: #d0cda4;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb97f",
  "rgb": {
    "r": 187,
    "g": 185,
    "b": 127
  },
  "hsl": {
    "h": 58,
    "s": 30.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.77344,
    "c": 0.07709,
    "h": 106.4
  },
  "luminance": 0.46795
}

Semantic roles & 50–950 ramp

primary
#BBB97F
secondary
#C0C0D6
accent
#40A93C
background
#FCFCFA
surface
#F9F9F4
border
#D2D2CE
text
#14130F
muted
#82827F

Preview Lab

Preview with #BBB97F

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

Preview Lab → · Contrast checker → · Palette generator →

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