#BBB27E#BBB27E

#BBB27E is a light, moderate yellow. Relative luminance 0.439; OKLCH L 75.8% C 0.070 H 99.5°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#BBB27E
RGBrgb(187, 178, 126)
HSLhsl(51, 31%, 61%)
HSVhsv(51, 33%, 73%)
CMYKcmyk(0%, 4.8%, 32.6%, 26.7%)
CIE-LABlab(72.17, -4.79, 27.79)
CIE-LCHlch(72.17, 28.20, 99.78°)
OKLaboklab(75.84% -0.0116 0.0693)
OKLCHoklch(75.84% 0.07 99.5)
XYZxyz(40.1802, 43.9129, 26.0941)
Luminance0.4391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB27E #7E87BB
analogous
#BB947E #BBB27E #A6BB7E
triadic
#BBB27E #7EBBB2 #B27EBB
tetradic
#BBB27E #7EBB94 #7E87BB #BB7EA6
square
#BBB27E #7EBB94 #7E87BB #BB7EA6
split-complementary
#BBB27E #7EA6BB #947EBB
monochromatic
#7D7442 #A59957 #BBB27E #D0CAA6 #E5E2CE

Accessibility & contrast

On white

2.15
#BBB27E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#BBB27E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB27E
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB27E#FFFFFF#000000##000000
##BBB27E1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAF7A
Deuteranopia (green-blind)
#BFB380
Tritanopia (blue-blind)
#C4ABA4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bbb27e;
/* rgb */ color: rgb(187, 178, 126);
/* oklch */ color: oklch(75.8% 0.070 99.5);
Tailwind
colors: {
  custom: {
    50: '#d0c8a4',
    500: '#bbb27e',
    950: '#000000',
  },
}
SCSS
$custom: #bbb27e;
$custom-light: #d0c8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb27e",
  "rgb": {
    "r": 187,
    "g": 178,
    "b": 126
  },
  "hsl": {
    "h": 51.148,
    "s": 30.964,
    "l": 61.373
  },
  "oklch": {
    "l": 0.75843,
    "c": 0.07026,
    "h": 99.5
  },
  "luminance": 0.43912
}

Semantic roles & 50–950 ramp

primary
#BBB27E
secondary
#BFC2D6
accent
#4CAA3C
background
#FCFCFA
surface
#F9F8F4
border
#D2D1CE
text
#14130F
muted
#82827F

Preview Lab

Preview with #BBB27E

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

Preview Lab → · Contrast checker → · Palette generator →

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