#BBB742#BBB742
#BBB742 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.1% C 0.137 H 107.4°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #BBB742 |
|---|---|
| RGB | rgb(187, 183, 66) |
| HSL | hsl(58, 48%, 50%) |
| HSV | hsv(58, 65%, 73%) |
| CMYK | cmyk(0%, 2.1%, 64.7%, 26.7%) |
| CIE-LAB | lab(72.78, -12.99, 57.76) |
| CIE-LCH | lch(72.78, 59.20, 102.68°) |
| OKLab | oklab(76.09% -0.0408 0.1305) |
| OKLCH | oklch(76.09% 0.137 107.4) |
| XYZ | xyz(38.4117, 44.8263, 11.7822) |
| Luminance | 0.4482 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.53
Puke Yellow
#C2BE0E
ΔE00 4.57
Mustard Green
#A8B504
ΔE00 5.21
Vomit Yellow
#C7C10C
ΔE00 5.27
Snot
#ACBB0D
ΔE00 5.34
Darkkhaki
#BDB76B
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBB742 #4246BB
analogous
#BB7B42 #BBB742 #82BB42
triadic
#BBB742 #42BBB7 #B742BB
tetradic
#BBB742 #42BB7B #4246BB #BB4282
square
#BBB742 #42BB7B #4246BB #BB4282
split-complementary
#BBB742 #4282BB #7B42BB
monochromatic
#615E22 #8E8B32 #BBB742 #CCC96E #DCDA9C
Accessibility & contrast
On white
2.11
#BBB742 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.96
#BBB742 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBB742
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBB742 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBB742 | 1.00 | 2.11 | 9.96 | 9.96 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B033
Deuteranopia (green-blind)
#C8B549
Tritanopia (blue-blind)
#C8AB9F
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #bbb742; /* rgb */ color: rgb(187, 183, 66); /* oklch */ color: oklch(76.1% 0.137 107.4);
Tailwind
colors: {
custom: {
50: '#d2cc7c',
500: '#bbb742',
950: '#000000',
},
}SCSS
$custom: #bbb742; $custom-light: #d2cc7c; $custom-dark: #000000;
JSON
{
"hex": "#bbb742",
"rgb": {
"r": 187,
"g": 183,
"b": 66
},
"hsl": {
"h": 58.017,
"s": 47.826,
"l": 49.608
},
"oklch": {
"l": 0.76085,
"c": 0.13677,
"h": 107.4
},
"luminance": 0.44825
}Semantic roles & 50–950 ramp
primary
#BBB742
secondary
#9193C8
accent
#55D750
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C