#BBB17F#BBB17F

#BBB17F is a light, moderate yellow. Relative luminance 0.435; OKLCH L 75.7% C 0.068 H 98.2°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#BBB17F
RGBrgb(187, 177, 127)
HSLhsl(50, 31%, 62%)
HSVhsv(50, 32%, 73%)
CMYKcmyk(0%, 5.3%, 32.1%, 26.7%)
CIE-LABlab(71.92, -4.13, 26.92)
CIE-LCHlch(71.92, 27.24, 98.72°)
OKLaboklab(75.65% -0.0097 0.0673)
OKLCHoklch(75.65% 0.068 98.2)
XYZxyz(40.0468, 43.5424, 26.3695)
Luminance0.4354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB17F #7F89BB
analogous
#BB937F #BBB17F #A7BB7F
triadic
#BBB17F #7FBBB1 #B17FBB
tetradic
#BBB17F #7FBB93 #7F89BB #BB7FA7
square
#BBB17F #7FBB93 #7F89BB #BB7FA7
split-complementary
#BBB17F #7FA7BB #937FBB
monochromatic
#7D7342 #A59858 #BBB17F #D0C9A7 #E5E2CF

Accessibility & contrast

On white

2.16
#BBB17F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#BBB17F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB17F
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB17F#FFFFFF#000000##000000
##BBB17F1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAE7C
Deuteranopia (green-blind)
#BEB281
Tritanopia (blue-blind)
#C4AAA4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bbb17f;
/* rgb */ color: rgb(187, 177, 127);
/* oklch */ color: oklch(75.7% 0.068 98.2);
Tailwind
colors: {
  custom: {
    50: '#d0c8a4',
    500: '#bbb17f',
    950: '#000000',
  },
}
SCSS
$custom: #bbb17f;
$custom-light: #d0c8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb17f",
  "rgb": {
    "r": 187,
    "g": 177,
    "b": 127
  },
  "hsl": {
    "h": 50,
    "s": 30.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.75652,
    "c": 0.06796,
    "h": 98.2
  },
  "luminance": 0.43541
}

Semantic roles & 50–950 ramp

primary
#BBB17F
secondary
#C0C3D6
accent
#4EA93C
background
#FCFCFA
surface
#F9F8F4
border
#D2D1CE
text
#14130F
muted
#82827F

Preview Lab

Preview with #BBB17F

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

Preview Lab → · Contrast checker → · Palette generator →

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