#BDC040#BDC040
#BDC040 is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.2% C 0.147 H 110.7°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).
Color values
| HEX | #BDC040 |
|---|---|
| RGB | rgb(189, 192, 64) |
| HSL | hsl(61, 50%, 50%) |
| HSV | hsv(61, 67%, 75%) |
| CMYK | cmyk(1.6%, 0%, 66.7%, 24.7%) |
| CIE-LAB | lab(75.38, -16.83, 61.30) |
| CIE-LCH | lch(75.38, 63.57, 105.35°) |
| OKLab | oklab(78.2% -0.0519 0.1376) |
| OKLCH | oklch(78.2% 0.147 110.7) |
| XYZ | xyz(40.7626, 48.8893, 12.1388) |
| Luminance | 0.4889 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 3.88
Puke Yellow
#C2BE0E
ΔE00 3.94
Baby Puke Green
#B6C406
ΔE00 3.94
Snot
#ACBB0D
ΔE00 4.03
Vomit Yellow
#C7C10C
ΔE00 4.48
Mustard Green
#A8B504
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BDC040 #4340C0
analogous
#C08340 #BDC040 #7DC040
triadic
#BDC040 #40BDC0 #C040BD
tetradic
#BDC040 #40C083 #4340C0 #C0407D
square
#BDC040 #40C083 #4340C0 #C0407D
split-complementary
#BDC040 #407DC0 #8340C0
monochromatic
#636421 #909230 #BDC040 #CDCF6E #DDDE9C
Accessibility & contrast
On white
1.95
#BDC040 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.78
#BDC040 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BDC040
10.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BDC040 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BDC040 | 1.00 | 1.95 | 10.78 | 10.78 |
| #FFFFFF | 1.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB82D
Deuteranopia (green-blind)
#D0BB49
Tritanopia (blue-blind)
#CAB4A6
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #bdc040; /* rgb */ color: rgb(189, 192, 64); /* oklch */ color: oklch(78.2% 0.147 110.7);
Tailwind
colors: {
custom: {
50: '#d4d27c',
500: '#bdc040',
950: '#000000',
},
}SCSS
$custom: #bdc040; $custom-light: #d4d27c; $custom-dark: #000000;
JSON
{
"hex": "#bdc040",
"rgb": {
"r": 189,
"g": 192,
"b": 64
},
"hsl": {
"h": 61.406,
"s": 50.394,
"l": 50.196
},
"oklch": {
"l": 0.78199,
"c": 0.14711,
"h": 110.7
},
"luminance": 0.48888
}Semantic roles & 50–950 ramp
primary
#BDC040
secondary
#9391CB
accent
#4EDA51
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#15140A
muted
#83827C