#BBA23F#BBA23F
#BBA23F is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.6% C 0.121 H 94.9°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #BBA23F |
|---|---|
| RGB | rgb(187, 162, 63) |
| HSL | hsl(48, 50%, 49%) |
| HSV | hsv(48, 66%, 73%) |
| CMYK | cmyk(0%, 13.4%, 66.3%, 26.7%) |
| CIE-LAB | lab(67.10, -2.17, 53.07) |
| CIE-LCH | lch(67.10, 53.11, 92.35°) |
| OKLab | oklab(71.57% -0.0103 0.1202) |
| OKLCH | oklch(71.57% 0.121 94.9) |
| XYZ | xyz(34.3127, 36.7661, 9.9909) |
| Luminance | 0.3676 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 4.79
Brown Yellow
#B29705
ΔE00 4.88
Dark Gold
#B59410
ΔE00 5.26
Desert
#CCAD60
ΔE00 5.52
Sandy Brown
#C4A661
ΔE00 5.63
Yellow Brown
#B79400
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBA23F #3F58BB
analogous
#BB643F #BBA23F #96BB3F
triadic
#BBA23F #3FBBA2 #A23FBB
tetradic
#BBA23F #3FBB64 #3F58BB #BB3F96
square
#BBA23F #3FBB64 #3F58BB #BB3F96
split-complementary
#BBA23F #3F96BB #643FBB
monochromatic
#5F5320 #8D7A30 #BBA23F #CDB96A #DCCF98
Accessibility & contrast
On white
2.51
#BBA23F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.35
#BBA23F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBA23F
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBA23F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBA23F | 1.00 | 2.51 | 8.35 | 8.35 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29F33
Deuteranopia (green-blind)
#B8A744
Tritanopia (blue-blind)
#C9968D
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #bba23f; /* rgb */ color: rgb(187, 162, 63); /* oklch */ color: oklch(71.6% 0.121 94.9);
Tailwind
colors: {
custom: {
50: '#d3bd79',
500: '#bba23f',
950: '#000000',
},
}SCSS
$custom: #bba23f; $custom-light: #d3bd79; $custom-dark: #000000;
JSON
{
"hex": "#bba23f",
"rgb": {
"r": 187,
"g": 162,
"b": 63
},
"hsl": {
"h": 47.903,
"s": 49.6,
"l": 49.02
},
"oklch": {
"l": 0.7157,
"c": 0.12059,
"h": 94.9
},
"luminance": 0.36764
}Semantic roles & 50–950 ramp
primary
#BBA23F
secondary
#8E99C8
accent
#6BD94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#151209
muted
#83817B