#BBB27F#BBB27F

#BBB27F is a light, moderate yellow. Relative luminance 0.439; OKLCH L 75.9% C 0.069 H 99.3°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#BBB27F
RGBrgb(187, 178, 127)
HSLhsl(51, 31%, 62%)
HSVhsv(51, 32%, 73%)
CMYKcmyk(0%, 4.8%, 32.1%, 26.7%)
CIE-LABlab(72.19, -4.66, 27.28)
CIE-LCHlch(72.19, 27.67, 99.70°)
OKLaboklab(75.86% -0.0112 0.0681)
OKLCHoklch(75.86% 0.069 99.3)
XYZxyz(40.2451, 43.9389, 26.4356)
Luminance0.4394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BBB27F #7F88BB
analogous
#BB947F #BBB27F #A6BB7F
triadic
#BBB27F #7FBBB2 #B27FBB
tetradic
#BBB27F #7FBB94 #7F88BB #BB7FA6
square
#BBB27F #7FBB94 #7F88BB #BB7FA6
split-complementary
#BBB27F #7FA6BB #947FBB
monochromatic
#7D7442 #A59958 #BBB27F #D0CAA7 #E5E2CF

Accessibility & contrast

On white

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

On black

9.79
#BBB27F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BBB27F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BBB27F#FFFFFF#000000##000000
##BBB27F1.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAF7C
Deuteranopia (green-blind)
#BEB381
Tritanopia (blue-blind)
#C4ABA5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bbb27f;
/* rgb */ color: rgb(187, 178, 127);
/* oklch */ color: oklch(75.9% 0.069 99.3);
Tailwind
colors: {
  custom: {
    50: '#d0c8a4',
    500: '#bbb27f',
    950: '#000000',
  },
}
SCSS
$custom: #bbb27f;
$custom-light: #d0c8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#bbb27f",
  "rgb": {
    "r": 187,
    "g": 178,
    "b": 127
  },
  "hsl": {
    "h": 51,
    "s": 30.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.75862,
    "c": 0.06902,
    "h": 99.3
  },
  "luminance": 0.43938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BBB27F

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

Preview Lab → · Contrast checker → · Palette generator →

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