#BDB148#BDB148
#BDB148 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.0% C 0.126 H 102.8°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #BDB148 |
|---|---|
| RGB | rgb(189, 177, 72) |
| HSL | hsl(54, 47%, 51%) |
| HSV | hsv(54, 62%, 74%) |
| CMYK | cmyk(0%, 6.3%, 61.9%, 25.9%) |
| CIE-LAB | lab(71.37, -8.65, 53.75) |
| CIE-LCH | lch(71.37, 54.44, 99.15°) |
| OKLab | oklab(75.02% -0.0279 0.1229) |
| OKLCH | oklch(75.02% 0.126 102.8) |
| XYZ | xyz(37.8795, 42.7324, 12.3825) |
| Luminance | 0.4273 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.12
Muddy Yellow
#BFAC05
ΔE00 5.16
Olive Yellow
#C2B709
ΔE00 5.35
Brownish Yellow
#C9B003
ΔE00 6.08
Puke Yellow
#C2BE0E
ΔE00 6.37
Puke
#A5A502
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BDB148 #4854BD
analogous
#BD7648 #BDB148 #8EBD48
triadic
#BDB148 #48BDB1 #B148BD
tetradic
#BDB148 #48BD76 #4854BD #BD488E
square
#BDB148 #48BD76 #4854BD #BD488E
split-complementary
#BDB148 #488EBD #7648BD
monochromatic
#665F25 #938935 #BDB148 #CDC475 #DDD7A2
Accessibility & contrast
On white
2.20
#BDB148 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.55
#BDB148 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BDB148
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BDB148 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BDB148 | 1.00 | 2.20 | 9.55 | 9.55 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AC3C
Deuteranopia (green-blind)
#C4B14E
Tritanopia (blue-blind)
#CAA69B
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #bdb148; /* rgb */ color: rgb(189, 177, 72); /* oklch */ color: oklch(75.0% 0.126 102.8);
Tailwind
colors: {
custom: {
50: '#d4c87f',
500: '#bdb148',
950: '#000000',
},
}SCSS
$custom: #bdb148; $custom-light: #d4c87f; $custom-dark: #000000;
JSON
{
"hex": "#bdb148",
"rgb": {
"r": 189,
"g": 177,
"b": 72
},
"hsl": {
"h": 53.846,
"s": 46.988,
"l": 51.176
},
"oklch": {
"l": 0.75024,
"c": 0.12603,
"h": 102.8
},
"luminance": 0.42731
}Semantic roles & 50–950 ramp
primary
#BDB148
secondary
#979CCA
accent
#5FD751
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#15130A
muted
#83827C