#BDB248#BDB248
#BDB248 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.2% C 0.127 H 103.4°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #BDB248 |
|---|---|
| RGB | rgb(189, 178, 72) |
| HSL | hsl(54, 47%, 51%) |
| HSV | hsv(54, 62%, 74%) |
| CMYK | cmyk(0%, 5.8%, 61.9%, 25.9%) |
| CIE-LAB | lab(71.64, -9.18, 54.04) |
| CIE-LCH | lch(71.64, 54.81, 99.64°) |
| OKLab | oklab(75.24% -0.0294 0.1235) |
| OKLCH | oklch(75.24% 0.127 103.4) |
| XYZ | xyz(38.0778, 43.1289, 12.4486) |
| Luminance | 0.4313 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.07
Olive Yellow
#C2B709
ΔE00 5.21
Muddy Yellow
#BFAC05
ΔE00 5.25
Puke Yellow
#C2BE0E
ΔE00 6.12
Brownish Yellow
#C9B003
ΔE00 6.18
Puke
#A5A502
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BDB248 #4853BD
analogous
#BD7748 #BDB248 #8DBD48
triadic
#BDB248 #48BDB2 #B248BD
tetradic
#BDB248 #48BD77 #4853BD #BD488D
square
#BDB248 #48BD77 #4853BD #BD488D
split-complementary
#BDB248 #488DBD #7748BD
monochromatic
#666025 #938A35 #BDB248 #CDC575 #DDD8A2
Accessibility & contrast
On white
2.18
#BDB248 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.63
#BDB248 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BDB248
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BDB248 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BDB248 | 1.00 | 2.18 | 9.63 | 9.63 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC3C
Deuteranopia (green-blind)
#C5B24E
Tritanopia (blue-blind)
#CAA79B
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #bdb248; /* rgb */ color: rgb(189, 178, 72); /* oklch */ color: oklch(75.2% 0.127 103.4);
Tailwind
colors: {
custom: {
50: '#d4c87f',
500: '#bdb248',
950: '#000000',
},
}SCSS
$custom: #bdb248; $custom-light: #d4c87f; $custom-dark: #000000;
JSON
{
"hex": "#bdb248",
"rgb": {
"r": 189,
"g": 178,
"b": 72
},
"hsl": {
"h": 54.359,
"s": 46.988,
"l": 51.176
},
"oklch": {
"l": 0.75238,
"c": 0.12697,
"h": 103.4
},
"luminance": 0.43127
}Semantic roles & 50–950 ramp
primary
#BDB248
secondary
#979BCA
accent
#5ED751
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#15130A
muted
#83827C