#BBAF7F#BBAF7F

#BBAF7F is a light, moderate yellow. Relative luminance 0.428; OKLCH L 75.2% C 0.066 H 95.8°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#BBAF7F
RGBrgb(187, 175, 127)
HSLhsl(48, 31%, 62%)
HSVhsv(48, 32%, 73%)
CMYKcmyk(0%, 6.4%, 32.1%, 26.7%)
CIE-LABlab(71.39, -3.07, 26.21)
CIE-LCHlch(71.39, 26.39, 96.68°)
OKLaboklab(75.23% -0.0066 0.0656)
OKLCHoklch(75.23% 0.066 95.8)
XYZxyz(39.6547, 42.7581, 26.2388)
Luminance0.4276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBAF7F #7F8BBB
analogous
#BB917F #BBAF7F #A9BB7F
triadic
#BBAF7F #7FBBAF #AF7FBB
tetradic
#BBAF7F #7FBB91 #7F8BBB #BB7FA9
square
#BBAF7F #7FBB91 #7F8BBB #BB7FA9
split-complementary
#BBAF7F #7FA9BB #917FBB
monochromatic
#7D7142 #A59658 #BBAF7F #D0C8A7 #E5E1CF

Accessibility & contrast

On white

2.20
#BBAF7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#BBAF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBAF7F
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBAF7F#FFFFFF#000000##000000
##BBAF7F1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AC7C
Deuteranopia (green-blind)
#BCB181
Tritanopia (blue-blind)
#C4A8A2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bbaf7f;
/* rgb */ color: rgb(187, 175, 127);
/* oklch */ color: oklch(75.2% 0.066 95.8);
Tailwind
colors: {
  custom: {
    50: '#d0c6a4',
    500: '#bbaf7f',
    950: '#000000',
  },
}
SCSS
$custom: #bbaf7f;
$custom-light: #d0c6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#bbaf7f",
  "rgb": {
    "r": 187,
    "g": 175,
    "b": 127
  },
  "hsl": {
    "h": 48,
    "s": 30.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.75232,
    "c": 0.06592,
    "h": 95.8
  },
  "luminance": 0.42757
}

Semantic roles & 50–950 ramp

primary
#BBAF7F
secondary
#C0C4D6
accent
#52A93C
background
#FCFCFA
surface
#F9F8F4
border
#D2D1CE
text
#14130F
muted
#82827F

Preview Lab

Preview with #BBAF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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