#BDB240#BDB240
#BDB240 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.2% C 0.133 H 103.8°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #BDB240 |
|---|---|
| RGB | rgb(189, 178, 64) |
| HSL | hsl(55, 49%, 50%) |
| HSV | hsv(55, 66%, 74%) |
| CMYK | cmyk(0%, 5.8%, 66.1%, 25.9%) |
| CIE-LAB | lab(71.58, -9.68, 57.39) |
| CIE-LCH | lch(71.58, 58.20, 99.57°) |
| OKLab | oklab(75.16% -0.0317 0.1294) |
| OKLCH | oklch(75.16% 0.133 103.8) |
| XYZ | xyz(37.8336, 43.0312, 11.1625) |
| Luminance | 0.4303 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.31
Muddy Yellow
#BFAC05
ΔE00 4.46
Puke Yellow
#C2BE0E
ΔE00 5.34
Brownish Yellow
#C9B003
ΔE00 5.48
Puke
#A5A502
ΔE00 5.91
Vomit Yellow
#C7C10C
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BDB240 #404BBD
analogous
#BD7440 #BDB240 #8ABD40
triadic
#BDB240 #40BDB2 #B240BD
tetradic
#BDB240 #40BD74 #404BBD #BD408A
square
#BDB240 #40BD74 #404BBD #BD408A
split-complementary
#BDB240 #408ABD #7440BD
monochromatic
#625C21 #8F8731 #BDB240 #CDC56D #DDD79A
Accessibility & contrast
On white
2.19
#BDB240 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.61
#BDB240 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BDB240
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BDB240 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BDB240 | 1.00 | 2.19 | 9.61 | 9.61 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC31
Deuteranopia (green-blind)
#C5B247
Tritanopia (blue-blind)
#CBA69B
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #bdb240; /* rgb */ color: rgb(189, 178, 64); /* oklch */ color: oklch(75.2% 0.133 103.8);
Tailwind
colors: {
custom: {
50: '#d4c87b',
500: '#bdb240',
950: '#000000',
},
}SCSS
$custom: #bdb240; $custom-light: #d4c87b; $custom-dark: #000000;
JSON
{
"hex": "#bdb240",
"rgb": {
"r": 189,
"g": 178,
"b": 64
},
"hsl": {
"h": 54.72,
"s": 49.407,
"l": 49.608
},
"oklch": {
"l": 0.75164,
"c": 0.13323,
"h": 103.8
},
"luminance": 0.4303
}Semantic roles & 50–950 ramp
primary
#BDB240
secondary
#9095C9
accent
#5BD94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C