#BBAF2E#BBAF2E
#BBAF2E is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.2% C 0.142 H 103.9°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #BBAF2E |
|---|---|
| RGB | rgb(187, 175, 46) |
| HSL | hsl(55, 61%, 46%) |
| HSV | hsv(55, 75%, 73%) |
| CMYK | cmyk(0%, 6.4%, 75.4%, 26.7%) |
| CIE-LAB | lab(70.47, -9.90, 63.06) |
| CIE-LCH | lch(70.47, 63.83, 98.92°) |
| OKLab | oklab(74.21% -0.0341 0.1383) |
| OKLCH | oklch(74.21% 0.142 103.9) |
| XYZ | xyz(36.3182, 41.4235, 8.6667) |
| Luminance | 0.4142 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 2.90
Olive Yellow
#C2B709
ΔE00 3.32
Brownish Yellow
#C9B003
ΔE00 4.36
Puke
#A5A502
ΔE00 4.86
Puke Yellow
#C2BE0E
ΔE00 4.91
Mustard (survey)
#CEB301
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBAF2E #2E3ABB
analogous
#BB692E #BBAF2E #80BB2E
triadic
#BBAF2E #2EBBAF #AF2EBB
tetradic
#BBAF2E #2EBB69 #2E3ABB #BB2E80
square
#BBAF2E #2EBB69 #2E3ABB #BB2E80
split-complementary
#BBAF2E #2E80BB #692EBB
monochromatic
#595316 #8A8122 #BBAF2E #D4C952 #E0D983
Accessibility & contrast
On white
2.26
#BBAF2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#BBAF2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBAF2E
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBAF2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBAF2E | 1.00 | 2.26 | 9.28 | 9.28 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA912
Deuteranopia (green-blind)
#C3AF38
Tritanopia (blue-blind)
#C9A396
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #bbaf2e; /* rgb */ color: rgb(187, 175, 46); /* oklch */ color: oklch(74.2% 0.142 103.9);
Tailwind
colors: {
custom: {
50: '#d3c671',
500: '#bbaf2e',
950: '#000000',
},
}SCSS
$custom: #bbaf2e; $custom-light: #d3c671; $custom-dark: #000000;
JSON
{
"hex": "#bbaf2e",
"rgb": {
"r": 187,
"g": 175,
"b": 46
},
"hsl": {
"h": 54.894,
"s": 60.515,
"l": 45.686
},
"oklch": {
"l": 0.74206,
"c": 0.1424,
"h": 103.9
},
"luminance": 0.41422
}Semantic roles & 50–950 ramp
primary
#BBAF2E
secondary
#7B82CA
accent
#52E444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B