#BBB266#BBB266
#BBB266 is a light, moderate yellow. Relative luminance 0.434; OKLCH L 75.4% C 0.098 H 102.5°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #BBB266 |
|---|---|
| RGB | rgb(187, 178, 102) |
| HSL | hsl(54, 38%, 57%) |
| HSV | hsv(54, 45%, 73%) |
| CMYK | cmyk(0%, 4.8%, 45.5%, 26.7%) |
| CIE-LAB | lab(71.80, -7.51, 39.83) |
| CIE-LCH | lch(71.80, 40.53, 100.68°) |
| OKLab | oklab(75.43% -0.0213 0.0958) |
| OKLCH | oklch(75.43% 0.098 102.5) |
| XYZ | xyz(38.8131, 43.3661, 18.8937) |
| Luminance | 0.4336 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 1.52
Khaki (survey)
#AAA662
ΔE00 4.20
Sand
#C2B280
ΔE00 6.00
Desert
#CCAD60
ΔE00 6.78
Sandstone
#C9AE74
ΔE00 7.13
Sandy Brown
#C4A661
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBB266 #666FBB
analogous
#BB8866 #BBB266 #9ABB66
triadic
#BBB266 #66BBB2 #B266BB
tetradic
#BBB266 #66BB88 #666FBB #BB669A
square
#BBB266 #66BB88 #666FBB #BB669A
split-complementary
#BBB266 #669ABB #8866BB
monochromatic
#736D33 #9E9446 #BBB266 #CEC790 #E1DDBB
Accessibility & contrast
On white
2.17
#BBB266 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.67
#BBB266 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBB266
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBB266 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBB266 | 1.00 | 2.17 | 9.67 | 9.67 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAD60
Deuteranopia (green-blind)
#C1B269
Tritanopia (blue-blind)
#C6A9A0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #bbb266; /* rgb */ color: rgb(187, 178, 102); /* oklch */ color: oklch(75.4% 0.098 102.5);
Tailwind
colors: {
custom: {
50: '#d1c893',
500: '#bbb266',
950: '#000000',
},
}SCSS
$custom: #bbb266; $custom-light: #d1c893; $custom-dark: #000000;
JSON
{
"hex": "#bbb266",
"rgb": {
"r": 187,
"g": 178,
"b": 102
},
"hsl": {
"h": 53.647,
"s": 38.462,
"l": 56.667
},
"oklch": {
"l": 0.75432,
"c": 0.09814,
"h": 102.5
},
"luminance": 0.43365
}Semantic roles & 50–950 ramp
primary
#BBB266
secondary
#ADB1D0
accent
#66CE59
background
#FDFCF9
surface
#FAF8F1
border
#D3D1CB
text
#14130D
muted
#83827E