#BBA23A#BBA23A
#BBA23A is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.5% C 0.124 H 95.4°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #BBA23A |
|---|---|
| RGB | rgb(187, 162, 58) |
| HSL | hsl(48, 53%, 48%) |
| HSV | hsv(48, 69%, 73%) |
| CMYK | cmyk(0%, 13.4%, 69%, 26.7%) |
| CIE-LAB | lab(67.06, -2.46, 55.17) |
| CIE-LCH | lch(67.06, 55.22, 92.56°) |
| OKLab | oklab(71.53% -0.0118 0.1238) |
| OKLCH | oklch(71.53% 0.124 95.4) |
| XYZ | xyz(34.1792, 36.7127, 9.2881) |
| Luminance | 0.3671 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 4.40
Brown Yellow
#B29705
ΔE00 4.45
Dark Gold
#B59410
ΔE00 4.98
Yellow Brown
#B79400
ΔE00 5.43
Muddy Yellow
#BFAC05
ΔE00 5.44
Ocre
#C69C04
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBA23A #3A53BB
analogous
#BB613A #BBA23A #93BB3A
triadic
#BBA23A #3ABBA2 #A23ABB
tetradic
#BBA23A #3ABB61 #3A53BB #BB3A93
square
#BBA23A #3ABB61 #3A53BB #BB3A93
split-complementary
#BBA23A #3A93BB #613ABB
monochromatic
#5E511D #8C7A2C #BBA23A #CFBA63 #DDCF92
Accessibility & contrast
On white
2.52
#BBA23A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.34
#BBA23A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBA23A
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBA23A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBA23A | 1.00 | 2.52 | 8.34 | 8.34 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29F2C
Deuteranopia (green-blind)
#B9A740
Tritanopia (blue-blind)
#CA968D
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #bba23a; /* rgb */ color: rgb(187, 162, 58); /* oklch */ color: oklch(71.5% 0.124 95.4);
Tailwind
colors: {
custom: {
50: '#d3bd76',
500: '#bba23a',
950: '#000000',
},
}SCSS
$custom: #bba23a; $custom-light: #d3bd76; $custom-dark: #000000;
JSON
{
"hex": "#bba23a",
"rgb": {
"r": 187,
"g": 162,
"b": 58
},
"hsl": {
"h": 48.372,
"s": 52.653,
"l": 48.039
},
"oklch": {
"l": 0.71525,
"c": 0.12432,
"h": 95.4
},
"luminance": 0.36711
}Semantic roles & 50–950 ramp
primary
#BBA23A
secondary
#8895C8
accent
#68DC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B